Package com.softwaremining.log
Class JRE14Logger
java.lang.Object
com.softwaremining.log.JRE14Logger
- All Implemented Interfaces:
Log
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
void
void
void
void
boolean
boolean
void
used for translation of COBOL's EXHIBIT statementvoid
used for translation of COBOL's EXHIBIT statementvoid
void
printNonSMStackTrace
(Throwable exception) void
setLogFileName
(String appenderName, String fileName) used to dynmaically change log filenamesstackTraceToString
(Throwable exception) void
void
void
void
void
warnNonSMStackTrace
(String message)
-
Constructor Details
-
JRE14Logger
-
-
Method Details
-
fatal
-
fatal
-
error
-
error
-
warn
-
warn
-
info
-
info
-
debug
-
debug
-
trace
-
trace
-
isTraceEnabled
public boolean isTraceEnabled()- Specified by:
isTraceEnabled
in interfaceLog
-
println
-
log
Description copied from interface:Log
used for translation of COBOL's EXHIBIT statement -
log
Description copied from interface:Log
used for translation of COBOL's EXHIBIT statement -
isDebugEnabled
public boolean isDebugEnabled()- Specified by:
isDebugEnabled
in interfaceLog
-
warnNonSMStackTrace
- Specified by:
warnNonSMStackTrace
in interfaceLog
-
printNonSMStackTrace
- Specified by:
printNonSMStackTrace
in interfaceLog
-
stackTraceToString
- Specified by:
stackTraceToString
in interfaceLog
-
setLogFileName
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
-