Skip to content

Commit

Permalink
ref(17): Add more configuration on workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanjerome committed Aug 31, 2023
1 parent f5432db commit 8384f61
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions vars/logger.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ private void logger(level, message) {
def LOG_LEVELS = ['ERROR', 'WARNING', 'INFO', 'SUCCESS', 'DEBUG']

// Global log level
def LOG_LEVEL = "${LOG_LEVEL}"
def LOG_LEVEL = 'DEBUG'

// Global log colorization enabled flag
def colored_xterm = false
Expand All @@ -68,8 +68,6 @@ private void logger(level, message) {
}
} catch(Throwable ex) { }

println "LOG_LEVEL is '${LOG_LEVEL}'"

if (LOG_LEVELS.indexOf(level) <= LOG_LEVELS.indexOf(LOG_LEVEL)) {
def color = COLORS[level]
def resetColor = "\u001B[0m"
Expand Down

0 comments on commit 8384f61

Please sign in to comment.