Class JulLogger

  • All Implemented Interfaces:
    ConfijLogger

    public class JulLogger
    extends java.lang.Object
    implements ConfijLogger
    A logger which uses java.util.logging underneath, but allows for slf4j-like log message patterns. The only reason being that jul doesn't require a dependency: don't use it otherwise.
    • Constructor Summary

      Constructors 
      Constructor Description
      JulLogger()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void debug​(java.lang.String message, java.lang.Object... attributes)  
      void error​(java.lang.String message, java.lang.Object... attributes)  
      void info​(java.lang.String message, java.lang.Object... attributes)  
      protected void log​(java.util.logging.Level level, java.lang.String message, java.lang.Object... attributes)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JulLogger

        public JulLogger()
    • Method Detail

      • debug

        public void debug​(java.lang.String message,
                          java.lang.Object... attributes)
        Specified by:
        debug in interface ConfijLogger
      • info

        public void info​(java.lang.String message,
                         java.lang.Object... attributes)
        Specified by:
        info in interface ConfijLogger
      • error

        public void error​(java.lang.String message,
                          java.lang.Object... attributes)
        Specified by:
        error in interface ConfijLogger
      • log

        protected void log​(java.util.logging.Level level,
                           java.lang.String message,
                           java.lang.Object... attributes)