Class LoggerFactoryTest

java.lang.Object
test.de.iip_ecosphere.platform.support.logging.LoggerFactoryTest

public class LoggerFactoryTest extends Object
Tests LoggerFactory with fallback logger.
Author:
Holger Eichelberger, SSE
  • Constructor Details

    • LoggerFactoryTest

      public LoggerFactoryTest()
  • Method Details

    • testSetLoggerFactory

      public void testSetLoggerFactory()
      Tests setting the actual logger factory.
    • testFactory

      public void testFactory()
      Tests the basic factory functions.
    • testAll

      public void testAll()
      Tests with logging level LogLevel.ALL.
    • testTrace

      public void testTrace()
      Tests with logging level LogLevel.TRACE.
    • testOff

      public void testOff()
      Tests with logging level LogLevel.OFF.
    • log

      private void log(de.iip_ecosphere.platform.support.logging.LogLevel level)
      Tests logging for the specified level.
      Parameters:
      level - the level
    • testConsiderPlugin

      public void testConsiderPlugin()
      Tests LoggerFactory.considerPlugin() with log level transfer.