public class VoidLogPanel extends java.lang.Object implements JLogPanelInterface
This class can be used in web applications that does not require any GUI.
The returned handler is just a ConsoleHandler
Constructor and Description |
---|
VoidLogPanel() |
Modifier and Type | Method and Description |
---|---|
org.apache.log4j.Level |
getLevel()
Gets the level.
|
org.apache.log4j.Appender |
getLogHandler()
Gets the log handler.
|
void |
resetLog()
Reset log.
|
void |
setLevel(org.apache.log4j.Level level)
Sets the level.
|
public org.apache.log4j.Level getLevel()
getLevel
in interface JLogPanelInterface
public org.apache.log4j.Appender getLogHandler()
getLogHandler
in interface JLogPanelInterface
public void resetLog()
resetLog
in interface JLogPanelInterface
public void setLevel(org.apache.log4j.Level level)
setLevel
in interface JLogPanelInterface
level
- the new levelCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa