@Generated(value="org.jomc.tools.SourceFileProcessor 1.5", comments="See http://www.jomc.org/jomc/1.5/jomc-tools-1.5") public interface Logger
getObject(Logger.class)
,
getObject(Logger.class, "implementation name")
,
org.jomc.ObjectManagerFactory
Modifier and Type | Method and Description |
---|---|
void |
config(String message)
Logs a configuration message.
|
void |
config(String message,
Throwable t)
Logs a configuration message and exception.
|
void |
config(Throwable t)
Logs a configuration exception.
|
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 |
isConfigEnabled()
Gets a flag indicating logging configuration messages is enabled.
|
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.
|
boolean isConfigEnabled()
true
, if logging configuration messages is enabled; false
, if logging configuration
messages is disabled.void config(String message)
message
- The message to log.void config(Throwable t)
t
- The exception to log.void config(String message, Throwable t)
message
- The message to log.t
- The exception to log.boolean isDebugEnabled()
true
, if logging debug messages is enabled; false
, if logging debug messages is disabled.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, 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, 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, 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, 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.Copyright © 2005–2013 The JOMC Project. All rights reserved.