public interface LogChannelInterface
Modifier and Type | Method and Description |
---|---|
String |
getContainerObjectId() |
String |
getFilter() |
String |
getLogChannelId() |
LogLevel |
getLogLevel() |
boolean |
isBasic() |
boolean |
isDebug() |
boolean |
isDetailed() |
boolean |
isError() |
boolean |
isForcingSeparateLogging() |
boolean |
isGatheringMetrics() |
boolean |
isRowLevel() |
void |
logBasic(String message) |
void |
logBasic(String message,
Object... arguments) |
void |
logDebug(String message) |
void |
logDebug(String message,
Object... arguments) |
void |
logDetailed(String message) |
void |
logDetailed(String message,
Object... arguments) |
void |
logError(String message) |
void |
logError(String message,
Object... arguments) |
void |
logError(String message,
Throwable e) |
void |
logMinimal(String message) |
void |
logMinimal(String message,
Object... arguments) |
void |
logRowlevel(String message) |
void |
logRowlevel(String message,
Object... arguments) |
void |
setContainerObjectId(String containerObjectId) |
void |
setFilter(String filter) |
void |
setForcingSeparateLogging(boolean forcingSeparateLogging)
This option will force the create of a separate logging channel even if the logging concerns identical objects with
identical names.
|
void |
setGatheringMetrics(boolean gatheringMetrics) |
void |
setLogLevel(LogLevel logLevel) |
void |
snap(MetricsInterface metric,
long... value)
Add a snapshot to the metrics system for this log channel at the time of invocation.
|
void |
snap(MetricsInterface metric,
String subject,
long... value)
Add a maximum snapshot to the metrics system for this log channel at the time of invocation.
|
String getLogChannelId()
LogLevel getLogLevel()
void setLogLevel(LogLevel logLevel)
String getContainerObjectId()
void setContainerObjectId(String containerObjectId)
containerObjectId
- the containerObjectId to setString getFilter()
void setFilter(String filter)
boolean isBasic()
boolean isDetailed()
boolean isDebug()
boolean isRowLevel()
boolean isError()
void logMinimal(String message)
void logBasic(String message)
void logDetailed(String message)
void logDebug(String message)
void logRowlevel(String message)
void logError(String message)
boolean isGatheringMetrics()
void setGatheringMetrics(boolean gatheringMetrics)
void setForcingSeparateLogging(boolean forcingSeparateLogging)
forcingSeparateLogging
- Set to true to force separate loggingboolean isForcingSeparateLogging()
void snap(MetricsInterface metric, long... value)
metric
- The metric to use (ex. connect to a database)value
- the value to storevoid snap(MetricsInterface metric, String subject, long... value)
metric
- The metric to use (ex. connect to a database)subject
- The subject (ex. the name of the database)value
- the value to store