|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sybase.persistence.AbstractLogger
public abstract class AbstractLogger
The abstract class for the logger. Used to create log record. This is the abstract base class of the generated @{link Logger}
Constructor Summary | |
---|---|
AbstractLogger()
|
Method Summary | |
---|---|
protected abstract LogRecord |
createRealLogRecord()
Creates a real log record for package |
void |
debug(java.lang.String message)
Creates a debug log |
void |
error(java.lang.String message)
Creates an error log |
void |
fatal(java.lang.String message)
Creates a fatal log |
int |
getLogLevel()
Gets current log level |
void |
info(java.lang.String message)
Creates an info log |
LogRecord |
newLogRecord(int level,
java.lang.String message)
Creates a new log record |
void |
setLogLevel(int ___logLevel)
Sets current log level |
void |
trace(java.lang.String message)
Creates a trace log |
void |
warn(java.lang.String message)
Creates a warn log |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractLogger()
Method Detail |
---|
protected abstract LogRecord createRealLogRecord()
public int getLogLevel()
getLogLevel
in interface Logger
public void setLogLevel(int ___logLevel)
setLogLevel
in interface Logger
public LogRecord newLogRecord(int level, java.lang.String message)
newLogRecord
in interface Logger
level
- The log level of the new log recordmessage
- The log message of the new log record
public void fatal(java.lang.String message)
fatal
in interface Logger
message
- The log message of the new log recordpublic void error(java.lang.String message)
error
in interface Logger
message
- The log message of the new log recordpublic void warn(java.lang.String message)
warn
in interface Logger
message
- The log message of the new log recordpublic void info(java.lang.String message)
info
in interface Logger
message
- The log message of the new log recordpublic void debug(java.lang.String message)
debug
in interface Logger
message
- The log message of the new log recordpublic void trace(java.lang.String message)
trace
in interface Logger
message
- The log message of the new log record
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |