org.sandev.basics.nodecommon
Interface Loggable

All Known Implementing Classes:
AuthorizerNodeBase, CacheManagerNodeBase, DataManagerNodeBase, MessageDriverNodeBase

public interface Loggable

The Loggable interface defines the methods and constants associated with logging for a node.


Method Summary
 Logger getLogger()
          Returns the Logger this node is configured with.
 int getLogLevel()
          Get the logging level for this node.
 void setLogger(Logger logger)
          Sets the Logger for this node.
 void setLogLevel(int level)
          Set the logging level for this node.
 

Method Detail

getLogLevel

public int getLogLevel()
Get the logging level for this node. See the Logger constants.


setLogLevel

public void setLogLevel(int level)
Set the logging level for this node. See the Logger constants.


getLogger

public Logger getLogger()
Returns the Logger this node is configured with.


setLogger

public void setLogger(Logger logger)
Sets the Logger for this node.