Class XBLogFactory


  • public final class XBLogFactory
    extends java.lang.Object
    Provides logging without clients having to mess with configuration/initialization.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static XBLogger getLogger​(java.lang.Class<?> theclass)
      Get a logger, based on a class name
      static XBLogger getLogger​(java.lang.String cat)
      Get a logger, based on a String
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getLogger

        public static XBLogger getLogger​(java.lang.Class<?> theclass)
        Get a logger, based on a class name
        Parameters:
        theclass - the class whose name defines the log
        Returns:
        a XBLogger for the specified class
      • getLogger

        public static XBLogger getLogger​(java.lang.String cat)
        Get a logger, based on a String
        Parameters:
        cat - the String that defines the log
        Returns:
        a XBLogger for the specified class