Class StackLoggerImpl
java.lang.Object
io.github.lunasaw.sip.common.conf.StackLoggerImpl
- All Implemented Interfaces:
gov.nist.core.LogLevels
,gov.nist.core.StackLogger
-
Field Summary
Fields inherited from interface gov.nist.core.LogLevels
TRACE_DEBUG, TRACE_ERROR, TRACE_EXCEPTION, TRACE_FATAL, TRACE_INFO, TRACE_MESSAGES, TRACE_NONE, TRACE_TRACE, TRACE_WARN
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
int
boolean
boolean
isLoggingEnabled
(int logLevel) void
void
void
void
void
void
logFatalError
(String message) void
void
void
logStackTrace
(int traceLevel) void
void
logWarning
(String message) void
setBuildTimeStamp
(String buildTimeStamp) void
setStackProperties
(Properties stackProperties)
-
Constructor Details
-
StackLoggerImpl
public StackLoggerImpl()
-
-
Method Details
-
logStackTrace
public void logStackTrace()- Specified by:
logStackTrace
in interfacegov.nist.core.StackLogger
-
logStackTrace
public void logStackTrace(int traceLevel) - Specified by:
logStackTrace
in interfacegov.nist.core.StackLogger
-
getLineCount
public int getLineCount()- Specified by:
getLineCount
in interfacegov.nist.core.StackLogger
-
logException
- Specified by:
logException
in interfacegov.nist.core.StackLogger
-
logDebug
- Specified by:
logDebug
in interfacegov.nist.core.StackLogger
-
logDebug
- Specified by:
logDebug
in interfacegov.nist.core.StackLogger
-
logTrace
- Specified by:
logTrace
in interfacegov.nist.core.StackLogger
-
logFatalError
- Specified by:
logFatalError
in interfacegov.nist.core.StackLogger
-
logError
- Specified by:
logError
in interfacegov.nist.core.StackLogger
-
isLoggingEnabled
public boolean isLoggingEnabled()- Specified by:
isLoggingEnabled
in interfacegov.nist.core.StackLogger
-
isLoggingEnabled
public boolean isLoggingEnabled(int logLevel) - Specified by:
isLoggingEnabled
in interfacegov.nist.core.StackLogger
-
logError
- Specified by:
logError
in interfacegov.nist.core.StackLogger
-
logWarning
- Specified by:
logWarning
in interfacegov.nist.core.StackLogger
-
logInfo
- Specified by:
logInfo
in interfacegov.nist.core.StackLogger
-
disableLogging
public void disableLogging()- Specified by:
disableLogging
in interfacegov.nist.core.StackLogger
-
enableLogging
public void enableLogging()- Specified by:
enableLogging
in interfacegov.nist.core.StackLogger
-
setBuildTimeStamp
- Specified by:
setBuildTimeStamp
in interfacegov.nist.core.StackLogger
-
setStackProperties
- Specified by:
setStackProperties
in interfacegov.nist.core.StackLogger
-
getLoggerName
- Specified by:
getLoggerName
in interfacegov.nist.core.StackLogger
-