diff options
author | Minijackson <minijackson@riseup.net> | 2021-11-09 11:23:21 +0100 |
---|---|---|
committer | Minijackson <minijackson@riseup.net> | 2021-11-09 11:23:21 +0100 |
commit | b2bd7818410e42e9a393553e7807037df8546a67 (patch) | |
tree | 88bfcdd446e03b7c16e54b6a1cc27eee8ba5b230 /demo.sh | |
parent | 4436c8197859ddf61e72c465d39c9eed55af51ba (diff) | |
download | bash-lib-b2bd7818410e42e9a393553e7807037df8546a67.tar.gz bash-lib-b2bd7818410e42e9a393553e7807037df8546a67.zip |
use BASH_LOG instead of BASH_DEBUG
Diffstat (limited to 'demo.sh')
-rw-r--r-- | demo.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3,8 +3,8 @@ | |||
3 | readonly BASH_LIB_NAME=DEMO | 3 | readonly BASH_LIB_NAME=DEMO |
4 | source ./bash-lib.sh | 4 | source ./bash-lib.sh |
5 | 5 | ||
6 | # Set `DEMO_DEBUG=1` to enable debug messages | 6 | # Set `DEMO_LOG=1` to enable debug messages |
7 | # Set `DEMO_DEBUG=2` to enable trace messages | 7 | # Set `DEMO_LOG=2` to enable trace messages |
8 | 8 | ||
9 | trace "this is a trace message" "with additional data" | 9 | trace "this is a trace message" "with additional data" |
10 | debug "this is a debugging message" "with additional data" | 10 | debug "this is a debugging message" "with additional data" |