| org.datashare.LoggingInterface
All known Subclasses: org.datashare.plugins.LoggingManager.LoggingAdapter,
LoggingInterface | public interface LoggingInterface (Code) | | this interface is to be implemented by the class that provides the extended Logging of
console messages that is needed by DataShare.
author: Charles Wood version: 1.0 |
Method Summary | |
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. | void | logException(int level, Exception e) |
CLIENT | final static int CLIENT(Code) | | |
DATABASE | final static int DATABASE(Code) | | |
DEBUG | final static int DEBUG(Code) | | if true, we will augment the ADSDebug settings and force our text to our
console based on filter settings and categories selected.
|
ERROR | final static int ERROR(Code) | | |
FATALERROR | final static int FATALERROR(Code) | | |
GENERALSTATUS | final static int GENERALSTATUS(Code) | | |
NETWORK | final static int NETWORK(Code) | | |
SESSION | final static int SESSION(Code) | | |
WARNING | final static int WARNING(Code) | | |
debugMsg | 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 | 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" |
|
|