public class BufferingLog extends AbstractLog
| Constructor and Description |
|---|
BufferingLog() |
| Modifier and Type | Method and Description |
|---|---|
void |
bulk(Consumer<Log> consumer)
Used to temporarily log several messages in bulk.
|
Logger |
debugLogger() |
Logger |
errorLogger() |
Logger |
infoLogger() |
boolean |
isDebugEnabled() |
void |
replayInto(Log other)
Replays buffered messages and clears the buffer.
|
String |
toString() |
Logger |
warnLogger() |
public boolean isDebugEnabled()
@Nonnull public Logger debugLogger()
Logger instance for writing debug messages@Nonnull public Logger errorLogger()
Logger instance for writing error messagespublic void bulk(@Nonnull Consumer<Log> consumer)
Logconsumer - A consumer for the bulk Logpublic void replayInto(Log other)
other - the log to reply intoCopyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.