Class Log4jLogger

java.lang.Object
com.softwaremining.log.Log4jLogger
All Implemented Interfaces:
Log

public class Log4jLogger extends Object implements Log
  • Constructor Details

    • Log4jLogger

      public Log4jLogger(Class<?> source)
  • Method Details

    • trace

      public void trace(String message)
      Specified by:
      trace in interface Log
    • trace

      public void trace(Throwable throwable)
      Specified by:
      trace in interface Log
    • isTraceEnabled

      public boolean isTraceEnabled()
      Specified by:
      isTraceEnabled in interface Log
    • debug

      public void debug(String message)
      Specified by:
      debug in interface Log
    • debug

      public void debug(Throwable throwable)
      Specified by:
      debug in interface Log
    • log

      public void log(String message)
      used for translation of COBOL's EXHIBIT statement
      Specified by:
      log in interface Log
      Parameters:
      message -
    • log

      public void log(Throwable throwable)
      used for translation of COBOL's EXHIBIT statement
      Specified by:
      log in interface Log
    • info

      public void info(String message)
      Specified by:
      info in interface Log
    • info

      public void info(Throwable throwable)
      Specified by:
      info in interface Log
    • warn

      public void warn(String message)
      Specified by:
      warn in interface Log
    • warn

      public void warn(Throwable throwable)
      Specified by:
      warn in interface Log
    • error

      public void error(String message)
      Specified by:
      error in interface Log
    • error

      public void error(Throwable throwable)
      Specified by:
      error in interface Log
    • fatal

      public void fatal(String message)
      Specified by:
      fatal in interface Log
    • fatal

      public void fatal(Throwable throwable)
      Specified by:
      fatal in interface Log
    • println

      public void println(String message)
      Specified by:
      println in interface Log
    • isDebugEnabled

      public boolean isDebugEnabled()
      Specified by:
      isDebugEnabled in interface Log
    • getRootLogger

      public org.apache.logging.log4j.Logger getRootLogger()
    • warnNonSMStackTrace

      public void warnNonSMStackTrace(String message)
      Specified by:
      warnNonSMStackTrace in interface Log
    • printNonSMStackTrace

      public void printNonSMStackTrace(Throwable exception)
      Specified by:
      printNonSMStackTrace in interface Log
    • stackTraceToString

      public String stackTraceToString(Throwable exception)
      Specified by:
      stackTraceToString in interface Log