Package org.burningwave.core
Class ManagedLogger.Repository.Abst
java.lang.Object
org.burningwave.core.ManagedLogger.Repository.Abst
- All Implemented Interfaces:
AutoCloseable,Closeable,Identifiable,Properties.Listener,ManagedLogger.Repository
- Direct Known Subclasses:
SimpleManagedLoggerRepository,SLF4JManagedLoggerRepository
- Enclosing interface:
- ManagedLogger.Repository
public abstract static class ManagedLogger.Repository.Abst extends Object implements ManagedLogger.Repository, Properties.Listener
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.burningwave.core.ManagedLogger.Repository
ManagedLogger.Repository.Abst, ManagedLogger.Repository.Configuration -
Method Summary
Modifier and Type Method Description StringaddDetailsToMessage(String message, StackTraceElement stackTraceElement)protected voidaddLoggingLevels(Properties properties, String configKey, org.burningwave.core.LoggingLevel... loggingLevels)voidclose()voiddisableLogging()voidenableLogging()booleanisEnabled()<K, V> voidprocessChangeNotification(Properties properties, Properties.Event event, K key, V newValue, V oldValue)protected voidremoveLoggingLevels(Properties properties, String configKey, org.burningwave.core.LoggingLevel... loggingLevels)Methods 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.ManagedLogger.Repository
addLoggingLevelFor, disableLogging, enableLogging, getLoggingLevelFlags, logDebug, logDebug, logError, logError, logError, logError, logError, logInfo, logInfo, logTrace, logTrace, logWarn, logWarn, removeLoggingLevelFor, setLoggingLevelFlags, setLoggingLevelForMethods inherited from interface org.burningwave.core.iterable.Properties.Listener
listenTo, unregister
-
Method Details
-
processChangeNotification
public <K, V> void processChangeNotification(Properties properties, Properties.Event event, K key, V newValue, V oldValue)- Specified by:
processChangeNotificationin interfaceProperties.Listener
-
removeLoggingLevels
protected void removeLoggingLevels(Properties properties, String configKey, org.burningwave.core.LoggingLevel... loggingLevels) -
addLoggingLevels
protected void addLoggingLevels(Properties properties, String configKey, org.burningwave.core.LoggingLevel... loggingLevels) -
isEnabled
public boolean isEnabled()- Specified by:
isEnabledin interfaceManagedLogger.Repository
-
disableLogging
public void disableLogging()- Specified by:
disableLoggingin interfaceManagedLogger.Repository
-
enableLogging
public void enableLogging()- Specified by:
enableLoggingin interfaceManagedLogger.Repository
-
addDetailsToMessage
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-