Class StackLoggerImpl

java.lang.Object
io.github.lunasaw.sip.common.conf.StackLoggerImpl
All Implemented Interfaces:
gov.nist.core.LogLevels, gov.nist.core.StackLogger

@Component public class StackLoggerImpl extends Object implements gov.nist.core.StackLogger
  • Constructor Details

    • StackLoggerImpl

      public StackLoggerImpl()
  • Method Details

    • logStackTrace

      public void logStackTrace()
      Specified by:
      logStackTrace in interface gov.nist.core.StackLogger
    • logStackTrace

      public void logStackTrace(int traceLevel)
      Specified by:
      logStackTrace in interface gov.nist.core.StackLogger
    • getLineCount

      public int getLineCount()
      Specified by:
      getLineCount in interface gov.nist.core.StackLogger
    • logException

      public void logException(Throwable ex)
      Specified by:
      logException in interface gov.nist.core.StackLogger
    • logDebug

      public void logDebug(String message)
      Specified by:
      logDebug in interface gov.nist.core.StackLogger
    • logDebug

      public void logDebug(String message, Exception ex)
      Specified by:
      logDebug in interface gov.nist.core.StackLogger
    • logTrace

      public void logTrace(String message)
      Specified by:
      logTrace in interface gov.nist.core.StackLogger
    • logFatalError

      public void logFatalError(String message)
      Specified by:
      logFatalError in interface gov.nist.core.StackLogger
    • logError

      public void logError(String message)
      Specified by:
      logError in interface gov.nist.core.StackLogger
    • isLoggingEnabled

      public boolean isLoggingEnabled()
      Specified by:
      isLoggingEnabled in interface gov.nist.core.StackLogger
    • isLoggingEnabled

      public boolean isLoggingEnabled(int logLevel)
      Specified by:
      isLoggingEnabled in interface gov.nist.core.StackLogger
    • logError

      public void logError(String message, Exception ex)
      Specified by:
      logError in interface gov.nist.core.StackLogger
    • logWarning

      public void logWarning(String message)
      Specified by:
      logWarning in interface gov.nist.core.StackLogger
    • logInfo

      public void logInfo(String message)
      Specified by:
      logInfo in interface gov.nist.core.StackLogger
    • disableLogging

      public void disableLogging()
      Specified by:
      disableLogging in interface gov.nist.core.StackLogger
    • enableLogging

      public void enableLogging()
      Specified by:
      enableLogging in interface gov.nist.core.StackLogger
    • setBuildTimeStamp

      public void setBuildTimeStamp(String buildTimeStamp)
      Specified by:
      setBuildTimeStamp in interface gov.nist.core.StackLogger
    • setStackProperties

      public void setStackProperties(Properties stackProperties)
      Specified by:
      setStackProperties in interface gov.nist.core.StackLogger
    • getLoggerName

      public String getLoggerName()
      Specified by:
      getLoggerName in interface gov.nist.core.StackLogger