Package com.hazelcast.logging
Class LoggerFactorySupport
java.lang.Object
com.hazelcast.logging.LoggerFactorySupport
- All Implemented Interfaces:
- com.hazelcast.logging.impl.InternalLoggerFactory,- LoggerFactory
- Direct Known Subclasses:
- Log4j2Factory,- Log4jFactory,- Slf4jFactory,- StandardLoggerFactory
public abstract class LoggerFactorySupport
extends Object
implements LoggerFactory, com.hazelcast.logging.impl.InternalLoggerFactory
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidprotected abstract ILoggercreateLogger(String name) final ILoggervoidResets the levels of all the loggers known to this logger factory back to the default preconfigured values.voidSets the levels of all the loggers known to this logger factory to the given level.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.hazelcast.logging.impl.InternalLoggerFactoryshutdown
- 
Constructor Details- 
LoggerFactorySupportpublic LoggerFactorySupport()
 
- 
- 
Method Details- 
getLogger- Specified by:
- getLoggerin interface- LoggerFactory
 
- 
createLogger
- 
clearLoadedLoggerspublic void clearLoadedLoggers()
- 
setLevelDescription copied from interface:com.hazelcast.logging.impl.InternalLoggerFactorySets the levels of all the loggers known to this logger factory to the given level. If a certain logger was already preconfigured with a more verbose level than the given level, it will be kept at that more verbose level.- Specified by:
- setLevelin interface- com.hazelcast.logging.impl.InternalLoggerFactory
- Parameters:
- level- the level to set.
 
- 
resetLevelpublic void resetLevel()Description copied from interface:com.hazelcast.logging.impl.InternalLoggerFactoryResets the levels of all the loggers known to this logger factory back to the default preconfigured values. Basically, undoes all the changes done by the previous calls toInternalLoggerFactory.setLevel(java.util.logging.Level), if there were any.- Specified by:
- resetLevelin interface- com.hazelcast.logging.impl.InternalLoggerFactory
 
 
-