public abstract class AbstractLog extends Object implements Log
Log, providing implementations
for the shortcut methods (debug, info, warn, error) that delegate
to the appropriate Logger (as obtained by Log.debugLogger(),
Log.infoLogger(), Log.warnLogger() and
Log.errorLogger() respectively).| Constructor and Description |
|---|
AbstractLog() |
| Modifier and Type | Method and Description |
|---|---|
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 ) |
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 ) |
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 ) |
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 ) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbulk, debugLogger, errorLogger, infoLogger, isDebugEnabled, warnLoggerpublic void debug(@Nonnull String message)
LogdebugLogger().log( message )public void debug(@Nonnull String message, @Nonnull Throwable throwable)
LogdebugLogger().log( message, throwable )public void debug(@Nonnull String format, @Nullable Object... arguments)
LogdebugLogger().log( format, arguments )public void info(@Nonnull String message)
LoginfoLogger().log( message )public void info(@Nonnull String message, @Nonnull Throwable throwable)
LoginfoLogger().log( message, throwable )public void info(@Nonnull String format, @Nullable Object... arguments)
LoginfoLogger().log( format, arguments )public void warn(@Nonnull String message)
LogwarnLogger().log( message )public void warn(@Nonnull String message, @Nonnull Throwable throwable)
LogwarnLogger().log( message, throwable )public void warn(@Nonnull String format, @Nullable Object... arguments)
LogwarnLogger().log( format, arguments )public void error(@Nonnull String message)
LogerrorLogger().log( message )public void error(@Nonnull String message, @Nonnull Throwable throwable)
LogerrorLogger().log( message, throwable )Copyright © 2002–2018 The Neo4j Graph Database Project. All rights reserved.