| java.lang.Object org.datashare.plugins.LoggingManager.LoggingAdapter
LoggingAdapter | public class LoggingAdapter implements LoggingInterface(Code) | | this class implements the LoggingInterface of DataShare
author: Charles Wood version: 1.0 |
Method Summary | |
public void | debugMsg(int level, int category, String msg) this is the method that should be used for all console messages of DataShare
so that filtering at runtime may be implemented. | public void | logException(int level, Exception e) |
debugMsg | public void debugMsg(int level, int category, String msg)(Code) | | this is the method that should be used for all console messages of DataShare
so that filtering at runtime may be implemented.
Parameters: level - valid values are defined in this class and are as follows:"DEBUG", "WARNING", "ERROR", "FATALERROR" Parameters: category - valid values are defined in this class and are as follows:"CLIENT", "SESSION", "DATABASE", "NETWORK" |
logException | public void logException(int level, Exception e)(Code) | | should be used to log/capture Exceptions
Parameters: level - valid values are defined in this class and are as follows:"DEBUG", "WARNING", "ERROR", "FATALERROR" |
|
|