public interface Log
| Modifier and Type | Method and Description |
|---|---|
void |
bulk(Consumer<Log> consumer)
Used to temporarily log several messages in bulk.
|
void |
debug(String message)
Shorthand for
debugLogger().log( message ) |
void |
debug(String format,
Object... arguments)
Shorthand for
debugLogger().log( format, arguments ) |
void |
debug(String message,
Throwable throwable)
Shorthand for
debugLogger().log( message, throwable ) |
Logger |
debugLogger() |
void |
error(String message)
Shorthand for
errorLogger().log( message ) |
void |
error(String format,
Object... arguments)
Shorthand for
errorLogger().log( format, arguments ) |
void |
error(String message,
Throwable throwable)
Shorthand for
errorLogger().log( message, throwable ) |
Logger |
errorLogger() |
void |
info(String message)
Shorthand for
infoLogger().log( message ) |
void |
info(String format,
Object... arguments)
Shorthand for
infoLogger().log( format, arguments ) |
void |
info(String message,
Throwable throwable)
Shorthand for
infoLogger().log( message, throwable ) |
Logger |
infoLogger() |
boolean |
isDebugEnabled() |
void |
warn(String message)
Shorthand for
warnLogger().log( message ) |
void |
warn(String format,
Object... arguments)
Shorthand for
warnLogger().log( format, arguments ) |
void |
warn(String message,
Throwable throwable)
Shorthand for
warnLogger().log( message, throwable ) |
Logger |
warnLogger() |
boolean isDebugEnabled()
void debug(@Nonnull String message)
debugLogger().log( message )message - The message to be writtenvoid debug(@Nonnull String message, @Nonnull Throwable throwable)
debugLogger().log( message, throwable )message - The message to be writtenthrowable - An exception that will also be writtenvoid debug(@Nonnull String format, @Nonnull Object... arguments)
debugLogger().log( format, arguments )format - A string format for writing a messagearguments - Arguments to substitute into the message according to the formatvoid info(@Nonnull String message)
infoLogger().log( message )message - The message to be writtenvoid info(@Nonnull String message, @Nonnull Throwable throwable)
infoLogger().log( message, throwable )message - The message to be writtenthrowable - An exception that will also be writtenvoid info(@Nonnull String format, @Nonnull Object... arguments)
infoLogger().log( format, arguments )format - A string format for writing a messagearguments - Arguments to substitute into the message according to the formatvoid warn(@Nonnull String message)
warnLogger().log( message )message - The message to be writtenvoid warn(@Nonnull String message, @Nonnull Throwable throwable)
warnLogger().log( message, throwable )message - The message to be writtenthrowable - An exception that will also be writtenvoid warn(@Nonnull String format, @Nonnull Object... arguments)
warnLogger().log( format, arguments )format - A string format for writing a messagearguments - Arguments to substitute into the message according to the formatvoid error(@Nonnull String message)
errorLogger().log( message )message - The message to be writtenvoid error(@Nonnull String message, @Nonnull Throwable throwable)
errorLogger().log( message, throwable )message - The message to be writtenthrowable - An exception that will also be writtenvoid error(@Nonnull String format, @Nonnull Object... arguments)
errorLogger().log( format, arguments )format - A string format for writing a messagearguments - Arguments to substitute into the message according to the formatCopyright © 2002–2018 The Neo4j Graph Database Project. All rights reserved.