-
- All Implemented Interfaces:
public class Logging
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumLogging.LogLevelpublic interfaceLogging.Factory
-
Field Summary
Fields Modifier and Type Field Description private Logging.LogLeveldefaultLogLevelprivate Logging.Factoryfactorypublic final static LoggingINSTANCE
-
Method Summary
Modifier and Type Method Description final LoggergetLogger(String name)final LoggergetLogger(Logging.LogLevel level, Function0<Unit> noOperation)final UnitconfigureLevel(String name, Logging.LogLevel level, Boolean throwIfNotSupported)final BooleanfactorySimpleClassNameStartsWith(String name)final Unitdisable()final Logging.LogLevelgetDefaultLogLevel()final UnitsetDefaultLogLevel(Logging.LogLevel defaultLogLevel)final Logging.FactorygetFactory()final UnitsetFactory(Logging.Factory factory)-
-
Method Detail
-
getLogger
final Logger getLogger(Logging.LogLevel level, Function0<Unit> noOperation)
-
configureLevel
final Unit configureLevel(String name, Logging.LogLevel level, Boolean throwIfNotSupported)
-
factorySimpleClassNameStartsWith
final Boolean factorySimpleClassNameStartsWith(String name)
-
getDefaultLogLevel
final Logging.LogLevel getDefaultLogLevel()
-
setDefaultLogLevel
final Unit setDefaultLogLevel(Logging.LogLevel defaultLogLevel)
-
getFactory
final Logging.Factory getFactory()
-
setFactory
final Unit setFactory(Logging.Factory factory)
-
-
-
-