@InternalOnly public class SqlDataManager.SqlDataManagerLogger extends java.lang.Object
Constructor and Description |
---|
SqlDataManagerLogger(org.apache.log4j.Logger logger)
Crates the logger
|
Modifier and Type | Method and Description |
---|---|
void |
addAppender(org.apache.log4j.Appender newAppender)
See the
Category.addAppender(Appender) method |
void |
assertLog(boolean assertion,
java.lang.String msg)
See the
Logger documentation for this method |
void |
callAppenders(org.apache.log4j.spi.LoggingEvent event)
See the
Logger documentation for this method |
void |
debug(java.lang.Object message)
See the
Logger documentation for this method |
void |
debug(java.lang.Object message,
java.lang.Throwable t)
See the
Logger documentation for this method |
void |
error(java.lang.Object message)
See the
Logger documentation for this method |
void |
error(java.lang.Object message,
java.lang.Throwable t)
See the
Logger documentation for this method |
void |
fatal(java.lang.Object message)
Logs a fatal message
|
void |
fatal(java.lang.Object message,
java.lang.Throwable t)
See the
Logger documentation for this method |
boolean |
getAdditivity()
See the
Logger documentation for this method |
java.util.Enumeration |
getAllAppenders()
See the
Logger documentation for this method |
org.apache.log4j.Appender |
getAppender(java.lang.String name)
See the
Logger documentation for this method |
org.apache.log4j.Priority |
getChainedPriority()
Deprecated.
|
org.apache.log4j.Level |
getEffectiveLevel()
See the
Logger documentation for this method |
org.apache.log4j.spi.LoggerRepository |
getHierarchy()
Deprecated.
|
org.apache.log4j.Level |
getLevel()
See the
Logger documentation for this method |
org.apache.log4j.spi.LoggerRepository |
getLoggerRepository()
See the
Logger documentation for this method |
java.lang.String |
getName()
See the
Logger documentation for this method |
org.apache.log4j.Category |
getParent()
See the
Logger documentation for this method |
org.apache.log4j.Level |
getPriority()
Deprecated.
|
java.util.ResourceBundle |
getResourceBundle()
See the
Logger documentation for this method |
void |
info(java.lang.Object message)
See the
Logger documentation for this method |
void |
info(java.lang.Object message,
java.lang.Throwable t)
See the
Logger documentation for this method |
boolean |
isAttached(org.apache.log4j.Appender appender)
See the
Logger documentation for this method |
boolean |
isDebugEnabled()
See the
Logger documentation for this method |
boolean |
isEnabledFor(org.apache.log4j.Priority level)
See the
Logger documentation for this method |
boolean |
isErrorEnabled()
See the
Logger documentation for this method |
boolean |
isInfoEnabled()
See the
Logger documentation for this method |
boolean |
isTraceEnabled()
See the
Logger documentation for this method |
boolean |
isWarnEnabled()
See the
Logger documentation for this method |
void |
l7dlog(org.apache.log4j.Priority priority,
java.lang.String key,
java.lang.Object[] params,
java.lang.Throwable t)
See the
Logger documentation for this method |
void |
l7dlog(org.apache.log4j.Priority priority,
java.lang.String key,
java.lang.Throwable t)
See the
Category.l7dlog(Priority, String, Throwable) method |
void |
log(org.apache.log4j.Priority priority,
java.lang.Object message)
Logs a message
|
void |
log(org.apache.log4j.Priority priority,
java.lang.Object message,
java.lang.Throwable t)
See the
Logger documentation for this method |
void |
log(java.lang.String callerFQCN,
org.apache.log4j.Priority level,
java.lang.Object message,
java.lang.Throwable t)
See the
Logger documentation for this method |
void |
removeAllAppenders()
See the
Logger documentation for this method |
void |
removeAppender(org.apache.log4j.Appender appender)
See the
Logger documentation for this method |
void |
removeAppender(java.lang.String name)
See the
Logger documentation for this method |
void |
setAdditivity(boolean additive)
See the
Logger documentation for this method |
void |
setLevel(org.apache.log4j.Level level)
Sets the logging level
|
void |
setPriority(org.apache.log4j.Priority priority)
Deprecated.
|
void |
setResourceBundle(java.util.ResourceBundle bundle)
See the
Logger documentation for this method |
void |
trace(java.lang.Object message)
See the
Logger documentation for this method |
void |
trace(java.lang.Object message,
java.lang.Throwable t)
Logs a message at trace level
|
void |
warn(java.lang.Object message)
See the
Logger documentation for this method |
void |
warn(java.lang.Object message,
java.lang.Throwable t)
Logs a warning message
|
public SqlDataManagerLogger(org.apache.log4j.Logger logger)
logger
- The log4j logger to wrappublic void setLevel(org.apache.log4j.Level level)
level
- The levelpublic void warn(java.lang.Object message, java.lang.Throwable t)
message
- The message to logt
- The throwable to logpublic void addAppender(org.apache.log4j.Appender newAppender)
Category.addAppender(Appender)
methodnewAppender
- The new Appenderpublic void trace(java.lang.Object message, java.lang.Throwable t)
message
- The message to logt
- The throwable to logpublic void l7dlog(@NotNull org.apache.log4j.Priority priority, java.lang.String key, java.lang.Throwable t)
Category.l7dlog(Priority, String, Throwable)
methodpriority
- The prioritykey
- The keyt
- The throwablepublic void fatal(java.lang.Object message)
message
- The message to logpublic void log(@NotNull org.apache.log4j.Priority priority, java.lang.Object message)
priority
- The prioritymessage
- The message to logpublic void setResourceBundle(java.util.ResourceBundle bundle)
Logger
documentation for this methodbundle
- The bundlepublic org.apache.log4j.Appender getAppender(java.lang.String name)
Logger
documentation for this methodname
- The name of the appenderpublic void error(java.lang.Object message)
Logger
documentation for this methodmessage
- The message to log@Deprecated public org.apache.log4j.spi.LoggerRepository getHierarchy()
Logger
documentation for this methodpublic java.util.Enumeration getAllAppenders()
Logger
documentation for this methodpublic java.lang.String getName()
Logger
documentation for this methodpublic boolean isDebugEnabled()
Logger
documentation for this methodpublic void removeAppender(java.lang.String name)
Logger
documentation for this methodname
- The namepublic void assertLog(boolean assertion, java.lang.String msg)
Logger
documentation for this methodassertion
- The assertionmsg
- The msgpublic void info(java.lang.Object message, java.lang.Throwable t)
Logger
documentation for this methodmessage
- The message to logt
- The throwable to logpublic void callAppenders(org.apache.log4j.spi.LoggingEvent event)
Logger
documentation for this methodevent
- The event@Deprecated public void setPriority(org.apache.log4j.Priority priority)
Logger
documentation for this methodpriority
- The prioritypublic void error(java.lang.Object message, java.lang.Throwable t)
Logger
documentation for this methodmessage
- The message to logt
- The throwable to log@Deprecated public org.apache.log4j.Priority getChainedPriority()
Logger
documentation for this methodpublic void debug(java.lang.Object message)
Logger
documentation for this methodmessage
- The message to logpublic org.apache.log4j.Level getLevel()
Logger
documentation for this methodpublic java.util.ResourceBundle getResourceBundle()
Logger
documentation for this methodpublic boolean isInfoEnabled()
Logger
documentation for this methodpublic boolean isWarnEnabled()
Logger
documentation for this methodpublic boolean isErrorEnabled()
Logger
documentation for this methodpublic void fatal(java.lang.Object message, java.lang.Throwable t)
Logger
documentation for this methodmessage
- The message to logt
- The throwable to logpublic boolean getAdditivity()
Logger
documentation for this methodpublic org.apache.log4j.Category getParent()
Logger
documentation for this methodpublic boolean isAttached(org.apache.log4j.Appender appender)
Logger
documentation for this methodappender
- The appenderpublic org.apache.log4j.Level getEffectiveLevel()
Logger
documentation for this methodpublic boolean isEnabledFor(@NotNull org.apache.log4j.Priority level)
Logger
documentation for this methodlevel
- The levelpublic void log(java.lang.String callerFQCN, @NotNull org.apache.log4j.Priority level, java.lang.Object message, java.lang.Throwable t)
Logger
documentation for this methodcallerFQCN
- The callerlevel
- The levelmessage
- The message to logt
- The throwable to log@Deprecated public org.apache.log4j.Level getPriority()
Logger
documentation for this methodpublic void removeAllAppenders()
Logger
documentation for this methodpublic void debug(java.lang.Object message, java.lang.Throwable t)
Logger
documentation for this methodmessage
- The message to logt
- The throwable to logpublic void info(java.lang.Object message)
Logger
documentation for this methodmessage
- The message to logpublic void l7dlog(@NotNull org.apache.log4j.Priority priority, java.lang.String key, java.lang.Object[] params, java.lang.Throwable t)
Logger
documentation for this methodpriority
- The prioritykey
- The keyparams
- The parameterst
- The throwablepublic void log(@NotNull org.apache.log4j.Priority priority, java.lang.Object message, java.lang.Throwable t)
Logger
documentation for this methodpriority
- The prioritymessage
- The message to logt
- The throwablepublic void removeAppender(org.apache.log4j.Appender appender)
Logger
documentation for this methodappender
- The appenderpublic void warn(java.lang.Object message)
Logger
documentation for this methodmessage
- The message to logpublic boolean isTraceEnabled()
Logger
documentation for this methodpublic org.apache.log4j.spi.LoggerRepository getLoggerRepository()
Logger
documentation for this methodpublic void setAdditivity(boolean additive)
Logger
documentation for this methodadditive
- The additivepublic void trace(java.lang.Object message)
Logger
documentation for this methodmessage
- The message