Package org.ametys.core.util
Class AvalonLoggerAdapter
- java.lang.Object
-
- org.slf4j.helpers.MarkerIgnoringBase
-
- org.ametys.core.util.AvalonLoggerAdapter
-
- All Implemented Interfaces:
Serializable
,org.slf4j.Logger
public class AvalonLoggerAdapter extends org.slf4j.helpers.MarkerIgnoringBase
SLF4J Logger wrapping an AvalonLogger
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AvalonLoggerAdapter(Logger logger)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
debug(String msg)
void
debug(String format, Object arg)
void
debug(String format, Object... arguments)
void
debug(String format, Object arg1, Object arg2)
void
debug(String msg, Throwable t)
void
error(String msg)
void
error(String format, Object arg)
void
error(String format, Object... arguments)
void
error(String format, Object arg1, Object arg2)
void
error(String msg, Throwable t)
String
getName()
void
info(String msg)
void
info(String format, Object arg)
void
info(String format, Object... arguments)
void
info(String format, Object arg1, Object arg2)
void
info(String msg, Throwable t)
boolean
isDebugEnabled()
boolean
isErrorEnabled()
boolean
isInfoEnabled()
boolean
isTraceEnabled()
boolean
isWarnEnabled()
protected Object
readResolve()
void
trace(String msg)
void
trace(String format, Object arg)
void
trace(String format, Object... arguments)
void
trace(String format, Object arg1, Object arg2)
void
trace(String msg, Throwable t)
void
warn(String msg)
void
warn(String format, Object arg)
void
warn(String format, Object... arguments)
void
warn(String format, Object arg1, Object arg2)
void
warn(String msg, Throwable t)
-
Methods inherited from class org.slf4j.helpers.MarkerIgnoringBase
debug, debug, debug, debug, debug, error, error, error, error, error, info, info, info, info, info, isDebugEnabled, isErrorEnabled, isInfoEnabled, isTraceEnabled, isWarnEnabled, toString, trace, trace, trace, trace, trace, warn, warn, warn, warn, warn
-
-
-
-
Constructor Detail
-
AvalonLoggerAdapter
public AvalonLoggerAdapter(Logger logger)
Constructor- Parameters:
logger
- the AvalonLogger
.
-
-
Method Detail
-
isTraceEnabled
public boolean isTraceEnabled()
-
isDebugEnabled
public boolean isDebugEnabled()
-
isInfoEnabled
public boolean isInfoEnabled()
-
isWarnEnabled
public boolean isWarnEnabled()
-
isErrorEnabled
public boolean isErrorEnabled()
-
getName
public String getName()
- Specified by:
getName
in interfaceorg.slf4j.Logger
-
readResolve
protected Object readResolve() throws ObjectStreamException
- Throws:
ObjectStreamException
-
-