com.hazelcast.logging
public interface ILogger
Modifier and Type | Method and Description |
---|---|
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 |
isFinestEnabled()
Checks if the
Level.FINEST is enabled. |
boolean |
isLoggable(Level level)
Checks if a message at the provided level is going to be logged by this logger.
|
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 info(String message)
Level.INFO
.message
- the message to log.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 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 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.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 © 2015 Hazelcast, Inc.. All Rights Reserved.