refcodes-batch.0.3.0.source-code.test.job Maven / Gradle / Ivy
#!/bin/bash
logTitle "Testing the libraries"
logHeadline "Testing the log library"
log "The log file is \"$LOG_FILE\""
logSeparator
log "The log level is \"$LOG_LEVEL\""
logSeparator
log $DEBUG "Logginging a debug message"
log $INFO "Logginging a info message"
log $WARN "Logginging a warn message"
log $ERROR "Logginging a error message"
log $FATAL "Logginging a fatal message"
logSeparator
log "Setting the log level to \"$ERROR\""
setLogLevel $ERROR
log $ERROR "The log level is \"$LOG_LEVEL\""
logSeparator
log $DEBUG "Logginging a debug message"
log $INFO "Logginging a info message"
log $WARN "Logginging a warn message"
log $ERROR "Logginging a error message"
log $FATAL "Logginging a fatal message"
logSeparator
log "Ending library tests"