Class LocLogger

java.lang.Object
org.slf4j.ext.LoggerWrapper
org.slf4j.cal10n.LocLogger
All Implemented Interfaces:
Logger

public class LocLogger extends LoggerWrapper implements Logger
A logger specialized in localized logging. Localization is based in the CAL10N project.
Author:
Ceki Gülcü
  • Constructor Details

    • LocLogger

      public LocLogger(Logger logger, ch.qos.cal10n.IMessageConveyor imc)
  • Method Details

    • trace

      public void trace(Enum<?> key, Object... args)
      Log a localized message at the TRACE level.
      Parameters:
      key - the key used for localization
      args - optional arguments
    • debug

      public void debug(Enum<?> key, Object... args)
      Log a localized message at the DEBUG level.
      Parameters:
      key - the key used for localization
      args - optional arguments
    • info

      public void info(Enum<?> key, Object... args)
      Log a localized message at the INFO level.
      Parameters:
      key - the key used for localization
      args - optional arguments
    • warn

      public void warn(Enum<?> key, Object... args)
      Log a localized message at the WARN level.
      Parameters:
      key - the key used for localization
      args - optional arguments
    • error

      public void error(Enum<?> key, Object... args)
      Log a localized message at the ERROR level.
      Parameters:
      key - the key used for localization
      args - optional arguments