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>
 
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
clear, containsKey, containsValue, disable, enable, entrySet, get, getMetadata, isDisabled, isEmpty, 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
equals, 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.