java.lang.Object
org.basepom.mojo.propertyhelper.util.Log
Wraps a Logger into a number of convenience methods such as varargs.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
void
void
void
void
void
void
void
errorDebug
(String errorMessage, Throwable t, Object... args) void
errorDebug
(Throwable t, String errorMessage) void
errorDebug
(Throwable t, String errorMessage, Object... args) static Log
Finds the logger for the caller by using the call stack.static Log
findLog()
Finds the logger for the current class by using the call stack.static Log
Returns a Logger for a given class.static Log
forLogger
(org.slf4j.Logger wrappedLogger) Returns a Logger for a given log4j logger.static Log
Returns a Logger for a given class or category name.void
void
void
void
void
void
void
void
boolean
boolean
boolean
boolean
boolean
void
void
void
void
void
void
void
void
void
void
void
void
void
-
Method Details
-
findLog
Finds the logger for the current class by using the call stack. -
findCallerLog
Finds the logger for the caller by using the call stack. -
forClass
Returns a Logger for a given class. -
forName
Returns a Logger for a given class or category name. -
forLogger
Returns a Logger for a given log4j logger. -
isTraceEnabled
public boolean isTraceEnabled() -
isDebugEnabled
public boolean isDebugEnabled() -
isErrorEnabled
public boolean isErrorEnabled() -
isWarnEnabled
public boolean isWarnEnabled() -
isInfoEnabled
public boolean isInfoEnabled() -
trace
-
trace
-
trace
-
trace
-
trace
-
debug
-
debug
-
debug
-
debug
-
debug
-
info
-
info
-
info
-
info
-
info
-
infoDebug
-
infoDebug
-
infoDebug
-
warn
-
warn
-
warn
-
warn
-
warn
-
warnDebug
-
warnDebug
-
warnDebug
-
error
-
error
-
error
-
error
-
error
-
errorDebug
-
errorDebug
-
errorDebug
-