public class LegacyLogger extends Object implements LogAndSource
LEVEL_DEBUG, LEVEL_ERROR, LEVEL_FATAL, LEVEL_INFO, LEVEL_WARN
Constructor and Description |
---|
LegacyLogger(Log logger) |
Modifier and Type | Method and Description |
---|---|
void |
debug(String application,
String message)
log level debug
|
void |
error(String application,
String message)
log level error
|
void |
fatal(String application,
String message)
log level fatal
|
Log |
getLog() |
int |
getLogLevel() |
String |
getSource() |
void |
info(String application,
String message)
log level info
|
void |
log(int level,
String application,
String message)
log one line
|
void |
setLogLevel(int level) |
void |
warn(String application,
String message)
log level warn
|
public LegacyLogger(Log logger)
public void log(int level, String application, String message)
Log
public void info(String application, String message)
Log
public void debug(String application, String message)
Log
public void warn(String application, String message)
Log
public void error(String application, String message)
Log
public void fatal(String application, String message)
Log
public int getLogLevel()
getLogLevel
in interface Log
public void setLogLevel(int level)
setLogLevel
in interface Log
level
- sets the log level of the logpublic Log getLog()
getLog
in interface LogAndSource
public String getSource()
getSource
in interface LogAndSource
Copyright © 2015 Lucee