public abstract class LoggerFactorySupport extends Object implements LoggerFactory, com.hazelcast.logging.impl.InternalLoggerFactory
| Constructor and Description |
|---|
LoggerFactorySupport() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearLoadedLoggers() |
protected abstract ILogger |
createLogger(String name) |
ILogger |
getLogger(String name) |
void |
resetLevel()
Resets the levels of all the loggers known to this logger factory back
to the default preconfigured values.
|
void |
setLevel(Level level)
Sets the levels of all the loggers known to this logger factory to
the given level.
|
public final ILogger getLogger(String name)
getLogger in interface LoggerFactorypublic void clearLoadedLoggers()
public void setLevel(@Nonnull Level level)
com.hazelcast.logging.impl.InternalLoggerFactorysetLevel in interface com.hazelcast.logging.impl.InternalLoggerFactorylevel - the level to set.public void resetLevel()
com.hazelcast.logging.impl.InternalLoggerFactoryInternalLoggerFactory.setLevel(java.util.logging.Level), if there were any.resetLevel in interface com.hazelcast.logging.impl.InternalLoggerFactoryCopyright © 2021 Hazelcast, Inc.. All rights reserved.