public interface ILogger
Modifier and Type | Method and Description |
---|---|
void |
fine(String message)
Logs a message at
Level.FINE . |
void |
fine(String message,
Throwable thrown)
Logs message with associated throwable information at
Level.FINE . |
void |
fine(Throwable thrown)
Logs a throwable at
Level.FINE . |
void |
finest(String message)
Logs a message at
Level.FINEST . |
void |
finest(String message,
Throwable thrown)
Logs message with associated throwable information at
Level.FINEST . |
void |
finest(Throwable thrown)
Logs a throwable at
Level.FINEST . |
Level |
getLevel()
Gets the logging Level.
|
void |
info(String message)
Logs a message at
Level.INFO . |
boolean |
isFineEnabled()
Checks if the
Level.FINE is enabled. |
boolean |
isFinestEnabled()
Checks if the
Level.FINEST is enabled. |
boolean |
isInfoEnabled()
Checks if the
Level.INFO is enabled. |
boolean |
isLoggable(Level level)
Checks if a message at the provided level is going to be logged by this logger.
|
boolean |
isWarningEnabled()
Checks if the
Level.WARNING is enabled. |
void |
log(Level level,
String message)
Logs a message at the provided Level.
|
void |
log(Level level,
String message,
Throwable thrown)
Logs message with associated throwable information at the provided 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 message with associated throwable information at
Level.SEVERE . |
void |
severe(Throwable thrown)
Logs a throwable at
Level.SEVERE . |
void |
warning(String message)
Logs a message at
Level.WARNING . |
void |
warning(String message,
Throwable thrown)
Logs message with associated throwable information at
Level.WARNING . |
void |
warning(Throwable thrown)
Logs a throwable at
Level.WARNING . |
void finest(String message)
Level.FINEST
.message
- the message to log.void finest(Throwable thrown)
Level.FINEST
. The message of the Throwable will be the message.thrown
- the Throwable to log.void finest(String message, Throwable thrown)
Level.FINEST
.message
- the message to logthrown
- the Throwable associated to the message.boolean isFinestEnabled()
Level.FINEST
is enabled.void fine(String message)
Level.FINE
.message
- the message to log.void fine(Throwable thrown)
Level.FINE
. The message of the Throwable will be the message.thrown
- the Throwable to log.void fine(String message, Throwable thrown)
Level.FINE
.message
- the message to logthrown
- the Throwable associated to the message.boolean isFineEnabled()
Level.FINE
is enabled.void info(String message)
Level.INFO
.message
- the message to log.boolean isInfoEnabled()
Level.INFO
is enabled.void warning(String message)
Level.WARNING
.message
- the message to log.void warning(Throwable thrown)
Level.WARNING
. The message of the Throwable will be the message.thrown
- the Throwable to log.void warning(String message, Throwable thrown)
Level.WARNING
.message
- the message to logthrown
- the Throwable associated to the message.boolean isWarningEnabled()
Level.WARNING
is enabled.void severe(String message)
Level.SEVERE
.message
- the message to log.void severe(Throwable thrown)
Level.SEVERE
. The message of the Throwable will be the message.thrown
- the Throwable to log.void severe(String message, Throwable thrown)
Level.SEVERE
.message
- the message to logthrown
- the Throwable associated to the message.void log(Level level, String message)
level
- the Level of logging.message
- the message to log.void log(Level level, String message, Throwable thrown)
message
- the message to logthrown
- the Throwable associated to the message.void log(LogEvent logEvent)
logEvent
- the logEvent to log.Level getLevel()
boolean isLoggable(Level level)
level
- the log level.Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.