Class LoggerFactory


  • @StableMinor(version="16.0",
                 sinceVersion="9.0")
    public class LoggerFactory
    extends java.lang.Object
    The factory for ILogger instances.
    Since:
    4.0.0
    Version:
    $Revision: 25808 $ $Date: 2023-07-04 15:20:55 -0300 (Tue, 04 Jul 2023) $
    • Constructor Summary

      Constructors 
      Constructor Description
      LoggerFactory()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static ILogger getLogger​(java.lang.Class pClass)
      Returns a logger instance to be used by the given class.
      static ILogger getServiceLogger​(java.lang.String serviceId)  
      • Methods inherited from class java.lang.Object

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

      • LoggerFactory

        public LoggerFactory()
    • Method Detail

      • getLogger

        public static ILogger getLogger​(java.lang.Class pClass)
        Returns a logger instance to be used by the given class.
        Parameters:
        pClass - the class which will use the logger.
        Returns:
        the logger instance.
      • getServiceLogger

        public static ILogger getServiceLogger​(java.lang.String serviceId)