|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Generated(value="org.jomc.tools.SourceFileProcessor 1.2", comments="See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2") public interface Logger
Logs events for a specific component.
getObject(Logger.class)
,
getObject(Logger.class, "implementation name")
,
org.jomc.ObjectManagerFactory
Method Summary | |
---|---|
void |
debug(String message)
Logs a debug message. |
void |
debug(String message,
Throwable t)
Logs a debug message and exception. |
void |
debug(Throwable t)
Logs a debug exception. |
void |
error(String message)
Logs an error message. |
void |
error(String message,
Throwable t)
Logs an error message and exception. |
void |
error(Throwable t)
Logs an error exception. |
void |
fatal(String message)
Logs a fatal message. |
void |
fatal(String message,
Throwable t)
Logs a fatal message and exception. |
void |
fatal(Throwable t)
Logs a fatal exception. |
void |
info(String message)
Logs an info message. |
void |
info(String message,
Throwable t)
Logs an info message and exception. |
void |
info(Throwable t)
Logs an info exception. |
boolean |
isDebugEnabled()
Gets a flag indicating logging debug messages is enabled. |
boolean |
isErrorEnabled()
Gets a flag indicating logging error messages is enabled. |
boolean |
isFatalEnabled()
Gets a flag indicating logging fatal messages is enabled. |
boolean |
isInfoEnabled()
Gets a flag indicating logging info messages is enabled. |
boolean |
isTraceEnabled()
Gets a flag indicating logging trace messages is enabled. |
boolean |
isWarnEnabled()
Gets a flag indicating logging warning messages is enabled. |
void |
trace(String message)
Logs a trace message. |
void |
trace(String message,
Throwable t)
Logs a trace message and exception. |
void |
trace(Throwable t)
Logs a trace exception. |
void |
warn(String message)
Logs a warning message. |
void |
warn(String message,
Throwable t)
Logs a warning message and exception. |
void |
warn(Throwable t)
Logs a warning exception. |
Method Detail |
---|
boolean isDebugEnabled()
true
, if logging debug messages is enabled; false
, if logging debug messages is disabled.void debug(String message)
message
- The message to log.void debug(Throwable t)
t
- The exception to log.void debug(String message, Throwable t)
message
- The message to log.t
- The exception to log.boolean isErrorEnabled()
true
, if logging error messages is enabled; false
, if logging error messages is disabled.void error(String message)
message
- The message to log.void error(Throwable t)
t
- The exception to log.void error(String message, Throwable t)
message
- The message to log.t
- The exception to log.boolean isFatalEnabled()
true
, if logging fatal messages is enabled; false
, if logging fatal messages is disabled.void fatal(String message)
message
- The message to log.void fatal(Throwable t)
t
- The exception to log.void fatal(String message, Throwable t)
message
- The message to log.t
- The exception to log.boolean isInfoEnabled()
true
, if logging info messages is enabled; false
, if logging info messages is disabled.void info(String message)
message
- The message to log.void info(Throwable t)
t
- The exception to log.void info(String message, Throwable t)
message
- The message to log.t
- The exception to log.boolean isTraceEnabled()
true
, if logging trace messages is enabled; false
, if logging trace messages is disabled.void trace(String message)
message
- The message to log.void trace(Throwable t)
t
- The exception to log.void trace(String message, Throwable t)
message
- The message to log.t
- The exception to log.boolean isWarnEnabled()
true
, if logging warning messages is enabled; false
, if logging warning messages is
disabled.void warn(String message)
message
- The message to log.void warn(Throwable t)
t
- The exception to log.void warn(String message, Throwable t)
message
- The message to log.t
- The exception to log.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2005-2012 The JOMC Project. All Rights Reserved. |