|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hazelcast.logging.AbstractLogger
public abstract class AbstractLogger
Abstract ILogger
implementation that provides implementations for the convenience methods like
finest,info,warning and severe.
Constructor Summary | |
---|---|
AbstractLogger()
|
Method Summary | |
---|---|
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 . |
void |
info(String message)
Logs a message at Level.INFO . |
boolean |
isFinestEnabled()
Checks if the Level.FINEST is enabled. |
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 . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.hazelcast.logging.ILogger |
---|
getLevel, isLoggable, log, log, log |
Constructor Detail |
---|
public AbstractLogger()
Method Detail |
---|
public void finest(String message)
ILogger
Level.FINEST
.
finest
in interface ILogger
message
- the message to log.public void finest(String message, Throwable thrown)
ILogger
Level.FINEST
.
finest
in interface ILogger
message
- the message to logthrown
- the Throwable associated to the message.public void finest(Throwable thrown)
ILogger
Level.FINEST
. The message of the Throwable will be the message.
finest
in interface ILogger
thrown
- the Throwable to log.public boolean isFinestEnabled()
ILogger
Level.FINEST
is enabled.
isFinestEnabled
in interface ILogger
public void info(String message)
ILogger
Level.INFO
.
info
in interface ILogger
message
- the message to log.public void severe(String message)
ILogger
Level.SEVERE
.
severe
in interface ILogger
message
- the message to log.public void severe(Throwable thrown)
ILogger
Level.SEVERE
. The message of the Throwable will be the message.
severe
in interface ILogger
thrown
- the Throwable to log.public void severe(String message, Throwable thrown)
ILogger
Level.SEVERE
.
severe
in interface ILogger
message
- the message to logthrown
- the Throwable associated to the message.public void warning(String message)
ILogger
Level.WARNING
.
warning
in interface ILogger
message
- the message to log.public void warning(Throwable thrown)
ILogger
Level.WARNING
. The message of the Throwable will be the message.
warning
in interface ILogger
thrown
- the Throwable to log.public void warning(String message, Throwable thrown)
ILogger
Level.WARNING
.
warning
in interface ILogger
message
- the message to logthrown
- the Throwable associated to the message.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |