ru.novosoft.dc.core
Interface CommonLogger
- public interface CommonLogger
- extends Logger, SystemLogger, ProcessLoggerFactory
This interface joins features of Logger
and SystemLogger
and adds more functionality.
Method Summary |
void |
clearError()
Clear error tag. |
void |
close()
Close the logger. |
void |
debug(java.lang.String message)
Send a debug message to the logger. |
void |
debug(java.lang.Throwable ex)
Send the stack trace of the specified throwable object to the logger
as a debug message. |
boolean |
errorsWereLogged()
Return true if an error message was sent to the logger. |
java.io.PrintStream |
getSystemLog()
Return the system log attached or null if the system log undefined. |
getSystemLog
public java.io.PrintStream getSystemLog()
- Return the system log attached or null if the system log undefined.
clearError
public void clearError()
- Clear error tag.
errorsWereLogged
public boolean errorsWereLogged()
- Return true if an error message was sent to the logger.
debug
public void debug(java.lang.String message)
- Send a debug message to the logger.
debug
public void debug(java.lang.Throwable ex)
- Send the stack trace of the specified throwable object to the logger
as a debug message.
close
public void close()
- Close the logger.
Other Novosoft LLC products:
Handy Backup Handy Password manager