Class LoggerFactory


  • @StableMinor(version="17.0",
                 sinceVersion="9.0")
    public class LoggerFactory
    extends java.lang.Object
    The factory for ILogger instances.
    Since:
    4.0.0
    Version:
    $Revision: 26587 $ $Date: 2024-08-26 21:09:17 -0300 (Mon, 26 Aug 2024) $
    • 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)