Class LoggerFactoryTest
java.lang.Object
test.de.iip_ecosphere.platform.support.logging.LoggerFactoryTest
Tests
LoggerFactory with fallback logger.- Author:
- Holger Eichelberger, SSE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidlog(de.iip_ecosphere.platform.support.logging.LogLevel level) Tests logging for the specified level.voidtestAll()Tests with logging levelLogLevel.ALL.voidTestsLoggerFactory.considerPlugin()with log level transfer.voidTests the basic factory functions.voidtestOff()Tests with logging levelLogLevel.OFF.voidTests setting the actual logger factory.voidTests with logging levelLogLevel.TRACE.
-
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 levelLogLevel.ALL. -
testTrace
public void testTrace()Tests with logging levelLogLevel.TRACE. -
testOff
public void testOff()Tests with logging levelLogLevel.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()TestsLoggerFactory.considerPlugin()with log level transfer.
-