public interface LogSink
Modifier and Type | Method and Description |
---|---|
boolean |
isLoggable(Name source,
LogLevel level)
Returns
true if the entry may be logged based on its source and/or level. |
void |
log(LogEntry entry)
Logs an entry.
|
boolean isLoggable(Name source, LogLevel level)
true
if the entry may be logged based on its source and/or level. This
does not guarantee that the entry will in fact be logged.source
- the object and/or event related to the log entry.level
- the logging level of the log entry.true
if the entry may be logged.Copyright 2011-2015 ForgeRock AS.