|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectit.jnrpe.plugins.PluginBase.Logger
protected class PluginBase.Logger
This class represent a generic logger that will be used by plugins
extending the PluginBase to write logs.
| Constructor Summary | |
|---|---|
protected |
PluginBase.Logger()
|
| Method Summary | |
|---|---|
void |
debug(String message)
Writes a debug message. |
void |
debug(String message,
Throwable exc)
Writes a debug message and logs the exception. |
void |
error(String message)
Writes an error message. |
void |
error(String message,
Throwable exc)
Writes an error message and logs the exception. |
void |
fatal(String message)
Writes a fatal message. |
void |
fatal(String message,
Throwable exc)
Writes a fatal message and logs the exception. |
void |
info(String message)
Writes an info message. |
void |
info(String message,
Throwable exc)
Writes an info message and logs the exception. |
void |
trace(String message)
Writes a trace message. |
void |
trace(String message,
Throwable exc)
Writes a trace message and logs the exception. |
void |
warn(String message)
Writes a warning message. |
void |
warn(String message,
Throwable exc)
Writes a warning message and logs the exception. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected PluginBase.Logger()
| Method Detail |
|---|
public final void trace(String message)
message - the message
public final void trace(String message,
Throwable exc)
message - the messageexc - the exception to be loggedpublic final void debug(String message)
message - the message
public final void debug(String message,
Throwable exc)
message - the messageexc - the exception to be loggedpublic final void info(String message)
message - the message
public final void info(String message,
Throwable exc)
message - the messageexc - the exception to be loggedpublic final void warn(String message)
message - the message
public final void warn(String message,
Throwable exc)
message - the messageexc - the exception to be loggedpublic final void error(String message)
message - the message
public final void error(String message,
Throwable exc)
message - the messageexc - the exception to be loggedpublic final void fatal(String message)
message - the message
public final void fatal(String message,
Throwable exc)
message - the messageexc - the exception to be logged
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||