public class NullLogSink extends Object implements LogSink
LOGSINK_HEAP_KEY
Constructor and Description |
---|
NullLogSink() |
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.
|
public NullLogSink()
public boolean isLoggable(Name source, LogLevel level)
LogSink
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.isLoggable
in interface LogSink
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.