com.comtrade.ecm.engine.logging

## Class AbstractLoggingManager

- java.lang.Object
- - com.comtrade.ecm.engine.logging.AbstractLoggingManager

- All Implemented Interfaces:
    LoggingManager, EcmService
  Direct Known Subclasses:
    LoggingManagerDefault, LoggingManagerEngine, LoggingManagerLogback

      public abstract class AbstractLoggingManager
      extends java.lang.Object
      implements LoggingManager

  Basis for implementations of `LoggingManager`.
  Defines basic LoggingManager elements :
  - methods for getting/creating EcmLogger
  - collection of already created loggers

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AbstractLoggingManager()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `EcmLogger` | `getLogger(java.lang.Class<?> clazz)` Returns an `EcmLogger` for a class `clazz`.

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface com.comtrade.ecm.engine.logging.LoggingManager

      `createLogger`

- - ### Constructor Detail

    - #### AbstractLoggingManager

          public AbstractLoggingManager()

  - ### Method Detail

    - #### getLogger

          public final EcmLogger getLogger(java.lang.Class<?> clazz)

      Returns an `EcmLogger` for a class `clazz`. If one does not already exist, creates a new one.
      Specified by:
        `getLogger` in interface `LoggingManager`
      Parameters:
        `clazz` - Class for which we want to get a logger
      Returns:
        `EcmLogger` object for a class `clazz`