Package de.hybris.platform.util.logging
Class HybrisLoggerHierarchy
- java.lang.Object
-
- org.apache.log4j.Hierarchy
-
- de.hybris.platform.util.logging.HybrisLoggerHierarchy
-
- All Implemented Interfaces:
org.apache.log4j.spi.LoggerRepository,org.apache.log4j.spi.RendererSupport,org.apache.log4j.spi.ThrowableRendererSupport
public class HybrisLoggerHierarchy extends org.apache.log4j.HierarchyThe [y]hybris logger hierarchy which uses a hybris specific logger factory instead of the normal log4j hierarchy.
-
-
Constructor Summary
Constructors Constructor Description HybrisLoggerHierarchy(org.apache.log4j.Logger root)Instantiates a new hierarchy and sets the default logger factory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()org.apache.log4j.Loggerexists(java.lang.String name)org.apache.log4j.LoggergetLogger(java.lang.String name)protected org.apache.log4j.LoggerloadLoggerWhichDoesntExist(java.lang.String name)voidresetConfiguration()voidshutdown()-
Methods inherited from class org.apache.log4j.Hierarchy
addHierarchyEventListener, addRenderer, emitNoAppenderWarning, fireAddAppenderEvent, getCurrentCategories, getCurrentLoggers, getLogger, getRendererMap, getRootLogger, getThreshold, getThrowableRenderer, isDisabled, overrideAsNeeded, setDisableOverride, setRenderer, setThreshold, setThreshold, setThrowableRenderer
-
-
-
-
Method Detail
-
clear
public void clear()
- Overrides:
clearin classorg.apache.log4j.Hierarchy
-
resetConfiguration
public void resetConfiguration()
- Specified by:
resetConfigurationin interfaceorg.apache.log4j.spi.LoggerRepository- Overrides:
resetConfigurationin classorg.apache.log4j.Hierarchy
-
shutdown
public void shutdown()
- Specified by:
shutdownin interfaceorg.apache.log4j.spi.LoggerRepository- Overrides:
shutdownin classorg.apache.log4j.Hierarchy
-
exists
public org.apache.log4j.Logger exists(java.lang.String name)
- Specified by:
existsin interfaceorg.apache.log4j.spi.LoggerRepository- Overrides:
existsin classorg.apache.log4j.Hierarchy
-
getLogger
public org.apache.log4j.Logger getLogger(java.lang.String name)
- Specified by:
getLoggerin interfaceorg.apache.log4j.spi.LoggerRepository- Overrides:
getLoggerin classorg.apache.log4j.Hierarchy
-
loadLoggerWhichDoesntExist
protected org.apache.log4j.Logger loadLoggerWhichDoesntExist(java.lang.String name)
-
-