Package com.hazelcast.logging
Class AbstractLogger
java.lang.Object
com.hazelcast.logging.AbstractLogger
- All Implemented Interfaces:
- com.hazelcast.internal.tpcengine.logging.TpcLogger,- ILogger
- Direct Known Subclasses:
- Log4j2Factory.Log4j2Logger
Abstract 
ILogger implementation that provides implementations for convenience methods like
 finest, info, warning and severe.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidLogs a message at theLevel.FINElevel.voidLogs a message with an associated throwable at theLevel.FINElevel.voidLogs a throwable at theLevel.FINElevel.voidLogs a message at theLevel.FINESTlevel.voidLogs a message with an associated throwable at theLevel.FINESTlevel.voidLogs a throwable at theLevel.FINESTlevel.voidLogs a message at theLevel.INFOlevel.voidLogs a message with an associated throwable at theLevel.INFOlevel.voidLogs a throwable at theLevel.INFOlevel.booleanChecks if theLevel.FINElevel is enabled.booleanChecks if theLevel.FINESTlevel is enabled.booleanChecks if theLevel.INFOlevel is enabled.booleanChecks if theLevel.SEVEREis enabled.booleanChecks if theLevel.WARNINGis enabled.voidLogs a message atLevel.SEVERE.voidLogs a message with an associated throwable at theLevel.SEVERElevel.voidLogs a throwable at theLevel.SEVERElevel.voidLogs a message at theLevel.WARNINGlevel.voidLogs a message with an associated throwable at theLevel.WARNINGlevel.voidLogs a throwable at theLevel.WARNINGlevel.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.hazelcast.logging.ILoggerfine, fine, fine, fine, fine, fine, finest, finest, finest, finest, finest, finest, logMethods inherited from interface com.hazelcast.internal.tpcengine.logging.TpcLoggergetLevel, isLoggable, log, log
- 
Constructor Details- 
AbstractLoggerpublic AbstractLogger()
 
- 
- 
Method Details- 
finestDescription copied from interface:com.hazelcast.internal.tpcengine.logging.TpcLoggerLogs a message at theLevel.FINESTlevel.- Specified by:
- finestin interface- com.hazelcast.internal.tpcengine.logging.TpcLogger
- Parameters:
- message- the message to log
 
- 
finestDescription copied from interface:com.hazelcast.internal.tpcengine.logging.TpcLoggerLogs a message with an associated throwable at theLevel.FINESTlevel.- Specified by:
- finestin interface- com.hazelcast.internal.tpcengine.logging.TpcLogger
- Parameters:
- message- the message to log
- thrown- the Throwable associated to the message
 
- 
finestDescription copied from interface:com.hazelcast.internal.tpcengine.logging.TpcLoggerLogs a throwable at theLevel.FINESTlevel. The message of the Throwable will be the logged message.- Specified by:
- finestin interface- com.hazelcast.internal.tpcengine.logging.TpcLogger
- Parameters:
- thrown- the Throwable to log
 
- 
isFinestEnabledpublic boolean isFinestEnabled()Description copied from interface:com.hazelcast.internal.tpcengine.logging.TpcLoggerChecks if theLevel.FINESTlevel is enabled.- Specified by:
- isFinestEnabledin interface- com.hazelcast.internal.tpcengine.logging.TpcLogger
- Returns:
- true if enabled, false otherwise
 
- 
fineDescription copied from interface:com.hazelcast.internal.tpcengine.logging.TpcLoggerLogs a message at theLevel.FINElevel.- Specified by:
- finein interface- com.hazelcast.internal.tpcengine.logging.TpcLogger
- Parameters:
- message- the message to log
 
- 
fineDescription copied from interface:com.hazelcast.internal.tpcengine.logging.TpcLoggerLogs a message with an associated throwable at theLevel.FINElevel.- Specified by:
- finein interface- com.hazelcast.internal.tpcengine.logging.TpcLogger
- Parameters:
- message- the message to log
- thrown- the Throwable associated to the message
 
- 
fineDescription copied from interface:com.hazelcast.internal.tpcengine.logging.TpcLoggerLogs a throwable at theLevel.FINElevel. The message of the Throwable will be the logged message.- Specified by:
- finein interface- com.hazelcast.internal.tpcengine.logging.TpcLogger
- Parameters:
- thrown- the Throwable to log
 
- 
isFineEnabledpublic boolean isFineEnabled()Description copied from interface:com.hazelcast.internal.tpcengine.logging.TpcLoggerChecks if theLevel.FINElevel is enabled.- Specified by:
- isFineEnabledin interface- com.hazelcast.internal.tpcengine.logging.TpcLogger
- Returns:
- true if enabled, false otherwise
 
- 
infoDescription copied from interface:com.hazelcast.internal.tpcengine.logging.TpcLoggerLogs a message at theLevel.INFOlevel.- Specified by:
- infoin interface- com.hazelcast.internal.tpcengine.logging.TpcLogger
- Parameters:
- message- the message to log
 
- 
infoDescription copied from interface:com.hazelcast.internal.tpcengine.logging.TpcLoggerLogs a message with an associated throwable at theLevel.INFOlevel.- Specified by:
- infoin interface- com.hazelcast.internal.tpcengine.logging.TpcLogger
- Parameters:
- message- the message to log
- thrown- the Throwable associated to the message
 
- 
infoDescription copied from interface:com.hazelcast.internal.tpcengine.logging.TpcLoggerLogs a throwable at theLevel.INFOlevel. The message of the Throwable will be the logged message.- Specified by:
- infoin interface- com.hazelcast.internal.tpcengine.logging.TpcLogger
- Parameters:
- thrown- the Throwable to log
 
- 
isInfoEnabledpublic boolean isInfoEnabled()Description copied from interface:com.hazelcast.internal.tpcengine.logging.TpcLoggerChecks if theLevel.INFOlevel is enabled.- Specified by:
- isInfoEnabledin interface- com.hazelcast.internal.tpcengine.logging.TpcLogger
- Returns:
- true if enabled, false otherwise
 
- 
warningDescription copied from interface:com.hazelcast.internal.tpcengine.logging.TpcLoggerLogs a message at theLevel.WARNINGlevel.- Specified by:
- warningin interface- com.hazelcast.internal.tpcengine.logging.TpcLogger
- Parameters:
- message- the message to log
 
- 
warningDescription copied from interface:com.hazelcast.internal.tpcengine.logging.TpcLoggerLogs a throwable at theLevel.WARNINGlevel. The message of the Throwable will be the logged message.- Specified by:
- warningin interface- com.hazelcast.internal.tpcengine.logging.TpcLogger
- Parameters:
- thrown- the Throwable to log
 
- 
warningDescription copied from interface:com.hazelcast.internal.tpcengine.logging.TpcLoggerLogs a message with an associated throwable at theLevel.WARNINGlevel.- Specified by:
- warningin interface- com.hazelcast.internal.tpcengine.logging.TpcLogger
- Parameters:
- message- the message to log
- thrown- the Throwable associated to the message
 
- 
isWarningEnabledpublic boolean isWarningEnabled()Description copied from interface:com.hazelcast.internal.tpcengine.logging.TpcLoggerChecks if theLevel.WARNINGis enabled.- Specified by:
- isWarningEnabledin interface- com.hazelcast.internal.tpcengine.logging.TpcLogger
- Returns:
- true if enabled, false otherwise
 
- 
severeDescription copied from interface:com.hazelcast.internal.tpcengine.logging.TpcLoggerLogs a message atLevel.SEVERE.- Specified by:
- severein interface- com.hazelcast.internal.tpcengine.logging.TpcLogger
- Parameters:
- message- the message to log.
 
- 
severeDescription copied from interface:com.hazelcast.internal.tpcengine.logging.TpcLoggerLogs a throwable at theLevel.SEVERElevel. The message of the Throwable will be the logged message.- Specified by:
- severein interface- com.hazelcast.internal.tpcengine.logging.TpcLogger
- Parameters:
- thrown- the Throwable to log
 
- 
severeDescription copied from interface:com.hazelcast.internal.tpcengine.logging.TpcLoggerLogs a message with an associated throwable at theLevel.SEVERElevel.- Specified by:
- severein interface- com.hazelcast.internal.tpcengine.logging.TpcLogger
- Parameters:
- message- the message to log
- thrown- the Throwable associated to the message
 
- 
isSevereEnabledpublic boolean isSevereEnabled()Description copied from interface:com.hazelcast.internal.tpcengine.logging.TpcLoggerChecks if theLevel.SEVEREis enabled.- Specified by:
- isSevereEnabledin interface- com.hazelcast.internal.tpcengine.logging.TpcLogger
- Returns:
- true if enabled, false otherwise
 
 
-