Package org.burningwave.core
Class SLF4JManagedLoggerRepository
java.lang.Object
org.burningwave.core.ManagedLogger.Repository.Abst
org.burningwave.core.SLF4JManagedLoggerRepository
- All Implemented Interfaces:
AutoCloseable,Closeable,Identifiable,Properties.Listener,ManagedLogger.Repository
public class SLF4JManagedLoggerRepository extends ManagedLogger.Repository.Abst
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.burningwave.core.ManagedLogger.Repository
ManagedLogger.Repository.Abst, ManagedLogger.Repository.Configuration -
Constructor Summary
Constructors Constructor Description SLF4JManagedLoggerRepository(Properties properties) -
Method Summary
Modifier and Type Method Description voidaddLoggingLevelFor(org.burningwave.core.LoggingLevel logLevel, String... classNames)voidclose()voiddisableLogging()voiddisableLogging(String clientName)voidenableLogging()voidenableLogging(String clientName)IntegergetLoggingLevelFlags(Class<?> cls)booleanisEnabled()voidlogDebug(Supplier<String> clientNameSupplier, String message)voidlogDebug(Supplier<String> clientNameSupplier, String message, Object... arguments)voidlogError(Supplier<String> clientNameSupplier, String message)voidlogError(Supplier<String> clientNameSupplier, String message, Object... arguments)voidlogError(Supplier<String> clientNameSupplier, String message, Throwable exc)voidlogError(Supplier<String> clientNameSupplier, String message, Throwable exc, Object... arguments)voidlogError(Supplier<String> clientNameSupplier, Throwable exc)voidlogInfo(Supplier<String> clientNameSupplier, String message)voidlogInfo(Supplier<String> clientNameSupplier, String message, Object... arguments)voidlogTrace(Supplier<String> clientNameSupplier, String message)voidlogTrace(Supplier<String> clientNameSupplier, String message, Object... arguments)voidlogWarn(Supplier<String> clientNameSupplier, String message)voidlogWarn(Supplier<String> clientNameSupplier, String message, Object... arguments)voidremoveLoggingLevelFor(org.burningwave.core.LoggingLevel logLevel, String... classNames)voidsetLoggingLevelFlags(Class<?> cls, Integer flags)voidsetLoggingLevelFor(org.burningwave.core.LoggingLevel level, String... classNames)Methods inherited from class org.burningwave.core.ManagedLogger.Repository.Abst
addDetailsToMessage, addLoggingLevels, processChangeNotification, removeLoggingLevelsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.burningwave.core.Closeable
closeResources, closeResources, createCloseResoucesTask, createCloseResoucesTaskMethods inherited from interface org.burningwave.core.Identifiable
getId, getOperationIdMethods inherited from interface org.burningwave.core.iterable.Properties.Listener
listenTo, unregister
-
Constructor Details
-
SLF4JManagedLoggerRepository
-
-
Method Details
-
setLoggingLevelFlags
-
getLoggingLevelFlags
-
addLoggingLevelFor
-
removeLoggingLevelFor
public void removeLoggingLevelFor(org.burningwave.core.LoggingLevel logLevel, String... classNames) -
setLoggingLevelFor
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabledin interfaceManagedLogger.Repository- Overrides:
isEnabledin classManagedLogger.Repository.Abst
-
disableLogging
public void disableLogging()- Specified by:
disableLoggingin interfaceManagedLogger.Repository- Overrides:
disableLoggingin classManagedLogger.Repository.Abst
-
enableLogging
public void enableLogging()- Specified by:
enableLoggingin interfaceManagedLogger.Repository- Overrides:
enableLoggingin classManagedLogger.Repository.Abst
-
disableLogging
-
enableLogging
-
logError
-
logError
-
logError
-
logError
-
logError
-
logDebug
-
logDebug
-
logInfo
-
logInfo
-
logWarn
-
logWarn
-
logTrace
-
logTrace
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classManagedLogger.Repository.Abst
-