Class JRE14Logger

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

public class JRE14Logger extends Object implements Log
  • Constructor Details

    • JRE14Logger

      public JRE14Logger(Logger logger)
  • Method Details

    • fatal

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

      public void fatal(Throwable throwable)
      Specified by:
      fatal 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
    • warn

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

      public void warn(Throwable throwable)
      Specified by:
      warn 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
    • debug

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

      public void debug(Throwable throwable)
      Specified by:
      debug in interface Log
    • 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
    • println

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

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

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

      public boolean isDebugEnabled()
      Specified by:
      isDebugEnabled in interface Log
    • 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
    • setLogFileName

      public void setLogFileName(String appenderName, String fileName)
      used to dynmaically change log filenames
      Parameters:
      appenderName - - referst to Log4J Appenders: e.g. where we have log4j.rootLogger=DEBUG,FileLogger, then a valid name for appender is "FileLogger"
      fileName - - target logging filename