Class LogDebugTest.TestLogger

java.lang.Object
org.apache.log4j.Category
org.apache.log4j.Logger
de.hybris.platform.sap.core.common.util.LogDebugTest.TestLogger
All Implemented Interfaces:
org.apache.log4j.spi.AppenderAttachable
Enclosing class:
LogDebugTest

public static class LogDebugTest.TestLogger extends org.apache.log4j.Logger
Test logger.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    boolean
    Flag indicating if debug mode is set.
    Receives a message.

    Fields inherited from class org.apache.log4j.Category

    additive, bundle, level, name, parent, repository
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    debug(Object message)
     
    boolean
     

    Methods inherited from class org.apache.log4j.Logger

    getLogger, getLogger, getLogger, getRootLogger, isTraceEnabled, trace, trace

    Methods inherited from class org.apache.log4j.Category

    addAppender, assertLog, callAppenders, debug, error, error, exists, fatal, fatal, forcedLog, getAdditivity, getAllAppenders, getAppender, getChainedPriority, getCurrentCategories, getDefaultHierarchy, getEffectiveLevel, getHierarchy, getInstance, getInstance, getLevel, getLoggerRepository, getName, getParent, getPriority, getResourceBundle, getRoot, info, info, isAttached, isEnabledFor, isErrorEnabled, isFatalEnabled, isInfoEnabled, isWarnEnabled, l7dlog, l7dlog, log, log, log, removeAllAppenders, removeAppender, removeAppender, setAdditivity, setLevel, setPriority, setResourceBundle, shutdown, warn, warn

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • isDebugEnabled

      public boolean isDebugEnabled
      Flag indicating if debug mode is set.
    • message

      public String message
      Receives a message.
  • Constructor Details

    • TestLogger

      public TestLogger(String name)
      Constructor.
      Parameters:
      name - name
  • Method Details

    • isDebugEnabled

      public boolean isDebugEnabled()
      Overrides:
      isDebugEnabled in class org.apache.log4j.Category
    • debug

      public void debug(Object message)
      Overrides:
      debug in class org.apache.log4j.Category