public interface LogConfigReadableType
Log interfaces that allow reading of their configuration.
All functions are thread-safe; any number of threads may call any of the functions without explicit synchronization.
| Modifier and Type | Method and Description |
|---|---|
String |
getAbsoluteDestination()
Retrieve the name of the current absolute destination.
|
boolean |
isEnabled() |
boolean |
wouldLog(LogLevel level) |
boolean |
wouldLogAtLevel(LogLevel level) |
String getAbsoluteDestination()
Retrieve the name of the current absolute destination. This will be a
fully qualified name such as com.io7m.jlog.example.
boolean isEnabled()
true if the log interface is enabled.boolean wouldLog(LogLevel level)
level - The intended leveltrue if writing to the current log at the given
level would actually result in a message.boolean wouldLogAtLevel(LogLevel level)
level - The intended leveltrue if writing to the current log at the given
level would actually result in a message, if the log was enabled.wouldLog(LogLevel)Copyright © 2014 <code@io7m.com> http://io7m.com