public interface ILogger
extends com.hazelcast.internal.tpcengine.logging.TpcLogger
AbstractLogger| Modifier and Type | Method and Description |
|---|---|
void |
fine(String message)
Logs a message at the
Level.FINE level. |
void |
fine(String message,
Throwable thrown)
Logs a message with an associated throwable at the
Level.FINE level. |
void |
fine(Throwable thrown)
Logs a throwable at the
Level.FINE level. |
void |
finest(String message)
Logs a message at the
Level.FINEST level. |
void |
finest(String message,
Throwable thrown)
Logs a message with an associated throwable at the
Level.FINEST level. |
void |
finest(Throwable thrown)
Logs a throwable at the
Level.FINEST level. |
Level |
getLevel()
Gets the logging level.
|
void |
info(String message)
Logs a message at the
Level.INFO level. |
void |
info(String message,
Throwable thrown)
Logs a message with an associated throwable at the
Level.INFO level. |
void |
info(Throwable thrown)
Logs a throwable at the
Level.INFO level. |
boolean |
isFineEnabled()
Checks if the
Level.FINE level is enabled. |
boolean |
isFinestEnabled()
Checks if the
Level.FINEST level is enabled. |
boolean |
isInfoEnabled()
Checks if the
Level.INFO level is enabled. |
boolean |
isLoggable(Level level)
Checks if a message at the given level is going to be logged by this logger.
|
boolean |
isSevereEnabled()
Checks if the
Level.SEVERE is enabled. |
boolean |
isWarningEnabled()
Checks if the
Level.WARNING is enabled. |
void |
log(Level level,
String message)
Logs a message at the given level.
|
void |
log(Level level,
String message,
Throwable thrown)
Logs a message with an associated throwable at the given level.
|
void |
log(LogEvent logEvent)
Deprecated.
Since 5.1, the method is unused
|
void |
severe(String message)
Logs a message at
Level.SEVERE. |
void |
severe(String message,
Throwable thrown)
Logs a message with an associated throwable at the
Level.SEVERE level. |
void |
severe(Throwable thrown)
Logs a throwable at the
Level.SEVERE level. |
void |
warning(String message)
Logs a message at the
Level.WARNING level. |
void |
warning(String message,
Throwable thrown)
Logs a message with an associated throwable at the
Level.WARNING level. |
void |
warning(Throwable thrown)
Logs a throwable at the
Level.WARNING level. |
void finest(String message)
Level.FINEST level.finest in interface com.hazelcast.internal.tpcengine.logging.TpcLoggermessage - the message to logvoid finest(Throwable thrown)
Level.FINEST level. The message of the
Throwable will be the logged message.finest in interface com.hazelcast.internal.tpcengine.logging.TpcLoggerthrown - the Throwable to logvoid finest(String message, Throwable thrown)
Level.FINEST level.finest in interface com.hazelcast.internal.tpcengine.logging.TpcLoggermessage - the message to logthrown - the Throwable associated to the messageboolean isFinestEnabled()
Level.FINEST level is enabled.isFinestEnabled in interface com.hazelcast.internal.tpcengine.logging.TpcLoggervoid fine(String message)
Level.FINE level.fine in interface com.hazelcast.internal.tpcengine.logging.TpcLoggermessage - the message to logvoid fine(Throwable thrown)
Level.FINE level. The message of the
Throwable will be the logged message.fine in interface com.hazelcast.internal.tpcengine.logging.TpcLoggerthrown - the Throwable to logvoid fine(String message, Throwable thrown)
Level.FINE level.fine in interface com.hazelcast.internal.tpcengine.logging.TpcLoggermessage - the message to logthrown - the Throwable associated to the messageboolean isFineEnabled()
Level.FINE level is enabled.isFineEnabled in interface com.hazelcast.internal.tpcengine.logging.TpcLoggervoid info(String message)
Level.INFO level.info in interface com.hazelcast.internal.tpcengine.logging.TpcLoggermessage - the message to logvoid info(Throwable thrown)
Level.INFO level. The message of the
Throwable will be the logged message.info in interface com.hazelcast.internal.tpcengine.logging.TpcLoggerthrown - the Throwable to logvoid info(String message, Throwable thrown)
Level.INFO level.info in interface com.hazelcast.internal.tpcengine.logging.TpcLoggermessage - the message to logthrown - the Throwable associated to the messageboolean isInfoEnabled()
Level.INFO level is enabled.isInfoEnabled in interface com.hazelcast.internal.tpcengine.logging.TpcLoggervoid warning(String message)
Level.WARNING level.warning in interface com.hazelcast.internal.tpcengine.logging.TpcLoggermessage - the message to logvoid warning(Throwable thrown)
Level.WARNING level. The message of the
Throwable will be the logged message.warning in interface com.hazelcast.internal.tpcengine.logging.TpcLoggerthrown - the Throwable to logvoid warning(String message, Throwable thrown)
Level.WARNING level.warning in interface com.hazelcast.internal.tpcengine.logging.TpcLoggermessage - the message to logthrown - the Throwable associated to the messageboolean isWarningEnabled()
Level.WARNING is enabled.isWarningEnabled in interface com.hazelcast.internal.tpcengine.logging.TpcLoggervoid severe(String message)
Level.SEVERE.severe in interface com.hazelcast.internal.tpcengine.logging.TpcLoggermessage - the message to log.void severe(Throwable thrown)
Level.SEVERE level. The message of the
Throwable will be the logged message.severe in interface com.hazelcast.internal.tpcengine.logging.TpcLoggerthrown - the Throwable to logvoid severe(String message, Throwable thrown)
Level.SEVERE level.severe in interface com.hazelcast.internal.tpcengine.logging.TpcLoggermessage - the message to logthrown - the Throwable associated to the messageboolean isSevereEnabled()
Level.SEVERE is enabled.isSevereEnabled in interface com.hazelcast.internal.tpcengine.logging.TpcLoggervoid log(Level level, String message)
log in interface com.hazelcast.internal.tpcengine.logging.TpcLoggerlevel - the log levelmessage - the message to logvoid log(Level level, String message, Throwable thrown)
log in interface com.hazelcast.internal.tpcengine.logging.TpcLoggermessage - the message to logthrown - the Throwable associated to the message@Deprecated void log(LogEvent logEvent)
logEvent - the logEvent to logLevel getLevel()
getLevel in interface com.hazelcast.internal.tpcengine.logging.TpcLoggerboolean isLoggable(Level level)
isLoggable in interface com.hazelcast.internal.tpcengine.logging.TpcLoggerlevel - the log levelCopyright © 2023 Hazelcast, Inc.. All rights reserved.