lib: log: Insert log level before message prefix
Also fix tests accordinly
This commit is contained in:
@@ -82,5 +82,5 @@ load ../../lib/log
|
||||
BASH_IT_LOG_LEVEL=$BASH_IT_LOG_LEVEL_ALL
|
||||
BASH_IT_LOG_PREFIX="nice: prefix: "
|
||||
run _log_debug "test test test"
|
||||
assert_output "nice: prefix: DEBUG: test test test"
|
||||
assert_output "DEBUG: nice: prefix: test test test"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user