public interface ILogger
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)
Logs a LogEvent.
|
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.message
- the message to logvoid finest(Throwable thrown)
Level.FINEST
level. The message of the
Throwable will be the logged message.thrown
- the Throwable to logvoid finest(String message, Throwable thrown)
Level.FINEST
level.message
- the message to logthrown
- the Throwable associated to the messageboolean isFinestEnabled()
Level.FINEST
level is enabled.void fine(String message)
Level.FINE
level.message
- the message to logvoid fine(Throwable thrown)
Level.FINE
level. The message of the
Throwable will be the logged message.thrown
- the Throwable to logvoid fine(String message, Throwable thrown)
Level.FINE
level.message
- the message to logthrown
- the Throwable associated to the messageboolean isFineEnabled()
Level.FINE
level is enabled.void info(String message)
Level.INFO
level.message
- the message to logvoid info(Throwable thrown)
Level.INFO
level. The message of the
Throwable will be the logged message.thrown
- the Throwable to logvoid info(String message, Throwable thrown)
Level.INFO
level.message
- the message to logthrown
- the Throwable associated to the messageboolean isInfoEnabled()
Level.INFO
level is enabled.void warning(String message)
Level.WARNING
level.message
- the message to logvoid warning(Throwable thrown)
Level.WARNING
level. The message of the
Throwable will be the logged message.thrown
- the Throwable to logvoid warning(String message, Throwable thrown)
Level.WARNING
level.message
- the message to logthrown
- the Throwable associated to the messageboolean isWarningEnabled()
Level.WARNING
is enabled.void severe(String message)
Level.SEVERE
.message
- the message to log.void severe(Throwable thrown)
Level.SEVERE
level. The message of the
Throwable will be the logged message.thrown
- the Throwable to logvoid severe(String message, Throwable thrown)
Level.SEVERE
level.message
- the message to logthrown
- the Throwable associated to the messageboolean isSevereEnabled()
Level.SEVERE
is enabled.void log(Level level, String message)
level
- the log levelmessage
- the message to logvoid log(Level level, String message, Throwable thrown)
message
- the message to logthrown
- the Throwable associated to the messagevoid log(LogEvent logEvent)
logEvent
- the logEvent to logLevel getLevel()
boolean isLoggable(Level level)
level
- the log levelCopyright © 2022 Hazelcast, Inc.. All rights reserved.