Class Logger


  • public class Logger
    extends Category

    This class is a minimal implementation of the original org.apache.log4j.Logger class (as found in log4j 1.2) delegating all calls to a Logger instance.

    • Method Detail

      • getLogger

        public static Logger getLogger​(java.lang.String name)
      • getLogger

        public static Logger getLogger​(java.lang.String name,
                                       LoggerFactory loggerFactory)
      • getLogger

        public static Logger getLogger​(java.lang.Class clazz)
      • getRootLogger

        public static Logger getRootLogger()
        Does the obvious.
        Returns:
      • trace

        public void trace​(java.lang.Object message)
        Delegates to Logger.trace(String) method in SLF4J.