Package 

Interface LoggingPort

  • All Implemented Interfaces:

    
    public interface LoggingPort
    
                        

    Logging Contract for integrating different logging libraries.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract LoggerPort createLogger(String name) Create Logger with name.
      abstract Unit setLoggerLevel(String name, LoggingLevel level) Set logging level for a logger.
      abstract Boolean isLoggerLevelEnabled(String name, LoggingLevel level) Check if a logging level is enabled for a logger.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • setLoggerLevel

         abstract Unit setLoggerLevel(String name, LoggingLevel level)

        Set logging level for a logger.

        Parameters:
        name - Logger name.
        level - One of the logging levels identifiers, e.g.
      • isLoggerLevelEnabled

         abstract Boolean isLoggerLevelEnabled(String name, LoggingLevel level)

        Check if a logging level is enabled for a logger.

        Parameters:
        name - Logger name.
        level - One of the logging levels identifiers, e.g.