com.splunk
Class Logger

java.lang.Object
  extended by com.splunk.Resource
      extended by com.splunk.Entity
          extended by com.splunk.Logger
All Implemented Interfaces:
java.util.Map<java.lang.String,java.lang.Object>

public class Logger
extends Entity

The Logger class represents a specific Splunkd logging category.


Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Field Summary
 
Fields inherited from class com.splunk.Entity
content, toUpdate
 
Fields inherited from class com.splunk.Resource
actions, path, refreshArgs, service, title
 
Method Summary
 java.lang.String getLevel()
          Returns the logging level of this logger.
 void setLevel(java.lang.String level)
          Sets the logging level of this logger.
 
Methods inherited from class com.splunk.Entity
actionPath, clear, containsKey, containsValue, disable, enable, entrySet, get, getContent, getMetadata, isDisabled, isEmpty, isNameChangeAllowed, keySet, put, putAll, refresh, remove, remove, size, update, update, validate, values
 
Methods inherited from class com.splunk.Resource
getName, getPath, getService, getTitle, invalidate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Method Detail

getLevel

public java.lang.String getLevel()
Returns the logging level of this logger. Valid values are: "FATAL", "CRIT", "WARN", "INFO", and "DEBUG".

Returns:
The logging level.

setLevel

public void setLevel(java.lang.String level)
Sets the logging level of this logger. Valid values are: "FATAL", "CRIT", "WARN", "INFO", and "DEBUG".

Parameters:
level - The logging level.