org.neo4j.kernel.logging
Class LogbackWeakDependency
java.lang.Object
org.neo4j.kernel.logging.LogbackWeakDependency
public class LogbackWeakDependency
- extends Object
This class is here since kernel has a weak dependency on logback, i.e. it will be used if available,
otherwise a fallback will transparently be used in its place. So even if some other classes this class
may refer to are available at compile time, it cannot be written in a way that assumes them being there.
For example it cannot import those classes, but should resolve them by reflection instead.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_TO_CLASSIC
public static final Function<Config,Logging> DEFAULT_TO_CLASSIC
NEW_LOGGER_CONTEXT
public static final Function<Config,Object> NEW_LOGGER_CONTEXT
STATIC_LOGGER_CONTEXT
public static final Function<Config,Object> STATIC_LOGGER_CONTEXT
LogbackWeakDependency
public LogbackWeakDependency()
tryLoadLogbackService
public Logging tryLoadLogbackService(Config config,
Function<Config,Object> loggerContextGetter,
Function<Config,Logging> otherwiseDefaultTo)
tryLoadLogbackService
public Logging tryLoadLogbackService(Config config,
Function<Config,Logging> otherwiseDefaultTo)
Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.