| Package | Description |
|---|---|
| org.neo4j.logging | |
| org.neo4j.logging.async |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractLogProvider<T extends Log>
An abstract
LogProvider implementation, which ensures Logs are cached and reused. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractLog
An abstract implementation of
Log, providing implementations
for the shortcut methods (debug, info, warn, error) that delegate
to the appropriate Logger (as obtained by debugLogger(),
infoLogger(), warnLogger() and
errorLogger() respectively). |
class |
BufferingLog
Buffers all messages sent to it, and is able to replay those messages into
another Logger.
|
class |
DuplicatingLog
A
Log implementation that duplicates all messages to other Log instances |
class |
FormattedLog
A
Log implementation that applies a simple formatting to each log message. |
class |
NullLog
A
Log implementation that discards all messages |
| Modifier and Type | Method and Description |
|---|---|
Log |
NullLogProvider.getLog(Class loggingClass) |
Log |
LogProvider.getLog(Class loggingClass) |
Log |
NullLogProvider.getLog(String name) |
Log |
LogProvider.getLog(String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
DuplicatingLog.remove(Log log)
Remove a
Log from the duplicating set |
void |
BufferingLog.replayInto(Log other)
Replays buffered messages and clears the buffer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BufferingLog.bulk(Consumer<Log> consumer) |
void |
FormattedLog.bulk(Consumer<Log> consumer) |
void |
NullLog.bulk(Consumer<Log> consumer) |
void |
Log.bulk(Consumer<Log> consumer)
Used to temporarily log several messages in bulk.
|
void |
DuplicatingLog.bulk(Consumer<Log> consumer) |
| Constructor and Description |
|---|
DuplicatingLog(Log... logs) |
| Constructor and Description |
|---|
DuplicatingLog(List<Log> logs) |
| Modifier and Type | Class and Description |
|---|---|
class |
AsyncLog |
| Modifier and Type | Method and Description |
|---|---|
Log |
AsyncLogProvider.getLog(Class loggingClass) |
Log |
AsyncLogProvider.getLog(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
AsyncLog.bulk(Consumer<Log> consumer) |
| Constructor and Description |
|---|
AsyncLog(org.neo4j.concurrent.AsyncEventSender<AsyncLogEvent> events,
Log log) |
Copyright © 2002–2018 The Neo4j Graph Database Project. All rights reserved.