org.neo4j.kernel.logging
Class DevNullLoggingService

java.lang.Object
  extended by org.neo4j.kernel.lifecycle.LifecycleAdapter
      extended by org.neo4j.kernel.logging.DevNullLoggingService
All Implemented Interfaces:
Lifecycle, Logging

public class DevNullLoggingService
extends LifecycleAdapter
implements Logging


Field Summary
static Logging DEV_NULL
           
 
Constructor Summary
DevNullLoggingService()
           
 
Method Summary
 ConsoleLogger getConsoleLog(Class loggingClass)
           
 org.neo4j.kernel.impl.util.StringLogger getMessagesLog(Class loggingClass)
           
 
Methods inherited from class org.neo4j.kernel.lifecycle.LifecycleAdapter
init, shutdown, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEV_NULL

public static final Logging DEV_NULL
Constructor Detail

DevNullLoggingService

public DevNullLoggingService()
Method Detail

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.