| java.lang.Object com.lutris.logging.LogAdapter
LogAdapter | public class LogAdapter implements LogChannel(Code) | | Temporary class for maintaing old applications that uses
deprecated com.lutris.logging.*
|
LogAdapter | public LogAdapter()(Code) | | |
LogAdapter | public LogAdapter(org.apache.log4j.Logger logger)(Code) | | |
getLogWriter | public LogWriter getLogWriter(String level)(Code) | | Create a LogWrite associated with a particular level. This
is often an easier object to use than a LogChannel if limited
levels are needed.
Parameters: level - Symbolic level that is to be checked. A log writer object. |
getLogWriter | public LogWriter getLogWriter(int level)(Code) | | Create a LogWrite associated with a particular level. This
is often an easier object to use than a LogChannel if limited
levels are needed.
Parameters: level - Numeric level that is to be checked. A log writer object. |
getLogger | public org.apache.log4j.Logger getLogger()(Code) | | |
isEnabled | public boolean isEnabled(int level)(Code) | | Determine if logging is enabled for the specified level.
|
isEnabled | public boolean isEnabled(String level)(Code) | | Determine if logging is enabled for the specified level.
|
setLogger | public void setLogger(org.apache.log4j.Logger log)(Code) | | |
write | public void write(int level, String msg)(Code) | | Write a string to the log file.
|
write | public void write(int level, String msg, Throwable throwable)(Code) | | Write a string and exception to the log file.
|
|
|