org.neo4j.kernel.logging
Class DevNullLoggingService
java.lang.Object
org.neo4j.kernel.lifecycle.LifecycleAdapter
org.neo4j.kernel.logging.DevNullLoggingService
- All Implemented Interfaces:
- Lifecycle, Logging
public class DevNullLoggingService
- extends LifecycleAdapter
- implements Logging
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEV_NULL
public static final Logging DEV_NULL
DevNullLoggingService
public DevNullLoggingService()
getMessagesLog
public org.neo4j.kernel.impl.util.StringLogger getMessagesLog(Class loggingClass)
- Specified by:
getMessagesLog
in interface Logging
- Parameters:
loggingClass
- the context for the return logger.
- Returns:
- a
StringLogger
that logs messages with the loggingClass
as context.
getConsoleLog
public ConsoleLogger getConsoleLog(Class loggingClass)
- Specified by:
getConsoleLog
in interface Logging
- Returns:
- a
ConsoleLogger
that logs message with the loggingClass
as context.
Messages logged with a ConsoleLogger
will be logged to a console
Copyright © 2002-2014 The Neo4j Graph Database Project. All Rights Reserved.