lib: log: Insert log level before message prefix

Also fix tests accordinly
This commit is contained in:
Noah Gorny
2020-07-02 13:52:02 +03:00
parent 3069af37e0
commit 72dbfd2480
2 changed files with 7 additions and 6 deletions

View File

@@ -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"
}