Package org.slf4j.cal10n
Class LocLogger
- java.lang.Object
-
- org.slf4j.ext.LoggerWrapper
-
- org.slf4j.cal10n.LocLogger
-
- All Implemented Interfaces:
org.slf4j.Logger
public class LocLogger extends LoggerWrapper implements org.slf4j.Logger
A logger specialized in localized logging. Localization is based in the CAL10N project.- Author:
- Ceki Gülcü
-
-
Field Summary
-
Fields inherited from class org.slf4j.ext.LoggerWrapper
instanceofLAL, logger
-
-
Constructor Summary
Constructors Constructor Description LocLogger(org.slf4j.Logger logger, ch.qos.cal10n.IMessageConveyor imc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddebug(java.lang.Enum<?> key, java.lang.Object... args)Log a localized message at the DEBUG level.voiderror(java.lang.Enum<?> key, java.lang.Object... args)Log a localized message at the ERROR level.voidinfo(java.lang.Enum<?> key, java.lang.Object... args)Log a localized message at the INFO level.voidtrace(java.lang.Enum<?> key, java.lang.Object... args)Log a localized message at the TRACE level.voidwarn(java.lang.Enum<?> key, java.lang.Object... args)Log a localized message at the WARN level.-
Methods inherited from class org.slf4j.ext.LoggerWrapper
debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, error, error, error, error, error, error, error, error, error, error, getName, info, info, info, info, info, info, info, info, info, info, isDebugEnabled, isDebugEnabled, isErrorEnabled, isErrorEnabled, isInfoEnabled, isInfoEnabled, isTraceEnabled, isTraceEnabled, isWarnEnabled, isWarnEnabled, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.slf4j.Logger
atDebug, atError, atInfo, atLevel, atTrace, atWarn, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, error, error, error, error, error, error, error, error, error, error, getName, info, info, info, info, info, info, info, info, info, info, isDebugEnabled, isDebugEnabled, isEnabledForLevel, isErrorEnabled, isErrorEnabled, isInfoEnabled, isInfoEnabled, isTraceEnabled, isTraceEnabled, isWarnEnabled, isWarnEnabled, makeLoggingEventBuilder, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn
-
-
-
-
Constructor Detail
-
LocLogger
public LocLogger(org.slf4j.Logger logger, ch.qos.cal10n.IMessageConveyor imc)
-
-
Method Detail
-
trace
public void trace(java.lang.Enum<?> key, java.lang.Object... args)
Log a localized message at the TRACE level.- Parameters:
key- the key used for localizationargs- optional arguments
-
debug
public void debug(java.lang.Enum<?> key, java.lang.Object... args)
Log a localized message at the DEBUG level.- Parameters:
key- the key used for localizationargs- optional arguments
-
info
public void info(java.lang.Enum<?> key, java.lang.Object... args)
Log a localized message at the INFO level.- Parameters:
key- the key used for localizationargs- optional arguments
-
warn
public void warn(java.lang.Enum<?> key, java.lang.Object... args)
Log a localized message at the WARN level.- Parameters:
key- the key used for localizationargs- optional arguments
-
error
public void error(java.lang.Enum<?> key, java.lang.Object... args)
Log a localized message at the ERROR level.- Parameters:
key- the key used for localizationargs- optional arguments
-
-