diff options
author | Galen Guyer <galen@galenguyer.com> | 2022-08-16 13:01:13 -0400 |
---|---|---|
committer | Galen Guyer <galen@galenguyer.com> | 2022-08-16 13:01:13 -0400 |
commit | fe808a0b8bc5acdd715ae3903c83a9d2d1e43aa2 (patch) | |
tree | 99a3cb32fe5503c01502891bf2da93cd225617a9 /lib/log.sh | |
parent | 69f4428fc03ffa03d47f6525fcb65fa48b5f76aa (diff) |
add custom module names
Diffstat (limited to 'lib/log.sh')
-rw-r--r-- | lib/log.sh | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -33,6 +33,7 @@ function log() { [[ "$DOT_LOG_LEVEL" -gt "$level" ]] && return [[ -n "$_modulename" ]] && module="[$_modulename]: " || module="" + [[ -n "$DOT_MODULE_NAME" ]] && module="[$DOT_MODULE_NAME]: " echo "$log_level_string $module$@" } |