Class 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ü
    • 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 localization
        args - 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 localization
        args - 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 localization
        args - 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 localization
        args - 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 localization
        args - optional arguments