public interface LogSink
Modifier and Type | Field and Description |
---|---|
static String |
LOGSINK_HEAP_KEY
|
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.
|
static final String LOGSINK_HEAP_KEY
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 © 2014 ForgeRock AS. All rights reserved.