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()
Clear the content of the log window.
|
void |
setLevel(org.apache.log4j.Level level)
Sets the level.
|
public org.apache.log4j.Level getLevel()
JLogPanelInterfacegetLevel in interface JLogPanelInterfacepublic org.apache.log4j.Appender getLogHandler()
JLogPanelInterfacegetLogHandler in interface JLogPanelInterfacepublic void resetLog()
JLogPanelInterfaceresetLog in interface JLogPanelInterfacepublic void setLevel(org.apache.log4j.Level level)
JLogPanelInterfacesetLevel in interface JLogPanelInterfacelevel - Level