public abstract class AbstractLogger extends Object implements ILogger
ILogger
implementation that provides implementations for convenience methods like
finest, info, warning and severe.Constructor and Description |
---|
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. |
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 |
isSevereEnabled()
Checks if the
Level.SEVERE is enabled. |
boolean |
isWarningEnabled()
Checks if the
Level.WARNING is enabled. |
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. |
public void finest(String message)
ILogger
Level.FINEST
level.public void finest(String message, Throwable thrown)
ILogger
Level.FINEST
level.public void finest(Throwable thrown)
ILogger
Level.FINEST
level. The message of the
Throwable will be the logged message.public boolean isFinestEnabled()
ILogger
Level.FINEST
level is enabled.isFinestEnabled
in interface ILogger
public void fine(String message)
ILogger
Level.FINE
level.public void fine(String message, Throwable thrown)
ILogger
Level.FINE
level.public void fine(Throwable thrown)
ILogger
Level.FINE
level. The message of the
Throwable will be the logged message.public boolean isFineEnabled()
ILogger
Level.FINE
level is enabled.isFineEnabled
in interface ILogger
public void info(String message)
ILogger
Level.INFO
level.public void info(String message, Throwable thrown)
ILogger
Level.INFO
level.public void info(Throwable thrown)
ILogger
Level.INFO
level. The message of the
Throwable will be the logged message.public boolean isInfoEnabled()
ILogger
Level.INFO
level is enabled.isInfoEnabled
in interface ILogger
public void warning(String message)
ILogger
Level.WARNING
level.public void warning(Throwable thrown)
ILogger
Level.WARNING
level. The message of the
Throwable will be the logged message.public void warning(String message, Throwable thrown)
ILogger
Level.WARNING
level.public boolean isWarningEnabled()
ILogger
Level.WARNING
is enabled.isWarningEnabled
in interface ILogger
public void severe(String message)
ILogger
Level.SEVERE
.public void severe(Throwable thrown)
ILogger
Level.SEVERE
level. The message of the
Throwable will be the logged message.public void severe(String message, Throwable thrown)
ILogger
Level.SEVERE
level.public boolean isSevereEnabled()
ILogger
Level.SEVERE
is enabled.isSevereEnabled
in interface ILogger
Copyright © 2024 Hazelcast, Inc.. All rights reserved.