Class LocLogger

    • Field Detail

      • FQCN

        private static final java.lang.String FQCN
      • LOCALIZED

        static Marker LOCALIZED
        Every localized message logged by a LocLogger will bear this marker. It allows marker-aware implementations to perform additional processing on localized messages.
      • imc

        final ch.qos.cal10n.IMessageConveyor imc
    • Constructor Detail

      • LocLogger

        public LocLogger​(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