| Modifier and Type | Method and Description |
|---|---|
void |
debug(Object message)
Log a message with debug log level.
|
void |
debug(Object message,
Throwable t)
Log an error with debug log level.
|
void |
error(Object message)
Log a message with error log level.
|
void |
error(Object message,
Throwable t)
Log an error with error log level.
|
void |
fatal(Object message)
Log a message with fatal log level.
|
void |
fatal(Object message,
Throwable t)
Log an error with fatal log level.
|
int |
getLogLevel()
Returns the LogLevel of the Logger.
|
void |
info(Object message)
Log a message with info log level.
|
void |
info(Object message,
Throwable t)
Log an error with info log level.
|
boolean |
isDebugEnabled()
Is debug logging currently enabled?
|
boolean |
isErrorEnabled()
Is error logging currently enabled?
|
boolean |
isFatalEnabled()
Is fatal logging currently enabled?
|
boolean |
isInfoEnabled()
Is info logging currently enabled?
|
boolean |
isTraceEnabled()
Is trace logging currently enabled?
|
boolean |
isWarnEnabled()
Is warn logging currently enabled?
|
void |
setBundleContext(org.osgi.framework.BundleContext context) |
void |
setPaxLoggingManager(PaxLoggingManager paxLoggingManager,
String name)
Not a public method.
|
void |
trace(Object message)
Log a message with trace log level.
|
void |
trace(Object message,
Throwable t)
Log an error with trace log level.
|
void |
warn(Object message)
Log a message with warn log level.
|
void |
warn(Object message,
Throwable t)
Log an error with warn log level.
|
public static final String JCL_FQCN
public JclLogger(PaxLogger delegate)
public boolean isDebugEnabled()
LogIs debug logging currently enabled?
Call this method to prevent having to perform expensive operations
(for example, String concatenation)
when the log level is more than debug.
isDebugEnabled in interface Logpublic boolean isErrorEnabled()
LogIs error logging currently enabled?
Call this method to prevent having to perform expensive operations
(for example, String concatenation)
when the log level is more than error.
isErrorEnabled in interface Logpublic boolean isFatalEnabled()
LogIs fatal logging currently enabled?
Call this method to prevent having to perform expensive operations
(for example, String concatenation)
when the log level is more than fatal.
isFatalEnabled in interface Logpublic boolean isInfoEnabled()
LogIs info logging currently enabled?
Call this method to prevent having to perform expensive operations
(for example, String concatenation)
when the log level is more than info.
isInfoEnabled in interface Logpublic boolean isTraceEnabled()
LogIs trace logging currently enabled?
Call this method to prevent having to perform expensive operations
(for example, String concatenation)
when the log level is more than trace.
isTraceEnabled in interface Logpublic boolean isWarnEnabled()
LogIs warn logging currently enabled?
Call this method to prevent having to perform expensive operations
(for example, String concatenation)
when the log level is more than warn.
isWarnEnabled in interface Logpublic void trace(Object message)
LogLog a message with trace log level.
public void trace(Object message, Throwable t)
LogLog an error with trace log level.
public void debug(Object message)
LogLog a message with debug log level.
public void debug(Object message, Throwable t)
LogLog an error with debug log level.
public void info(Object message)
LogLog a message with info log level.
public void info(Object message, Throwable t)
LogLog an error with info log level.
public void warn(Object message)
LogLog a message with warn log level.
public void warn(Object message, Throwable t)
LogLog an error with warn log level.
public void error(Object message)
LogLog a message with error log level.
public void error(Object message, Throwable t)
LogLog an error with error log level.
public void fatal(Object message)
LogLog a message with fatal log level.
public void fatal(Object message, Throwable t)
LogLog an error with fatal log level.
public int getLogLevel()
LogInteger.MAX_INT = OFF FATAL = 50000 ERROR = 40000 WARN = 30000 INFO = 20000 DEBUG = 10000 TRACE = 5000 ALL = Integer.MIN_VALUE
getLogLevel in interface Logpublic void setBundleContext(org.osgi.framework.BundleContext context)
public void setPaxLoggingManager(PaxLoggingManager paxLoggingManager, String name)
paxLoggingManager - TODOname - TODOCopyright © 2006-2015 OPS4J - Open Participation Software for Java. All Rights Reserved.