]> git.corax.cc Git - toolbox/commit
include/log: Add logging facilities
authorMatthias Kruk <m@m10k.eu>
Mon, 22 Mar 2021 00:36:25 +0000 (09:36 +0900)
committerMatthias Kruk <m@m10k.eu>
Mon, 22 Mar 2021 00:36:25 +0000 (09:36 +0900)
commit326b106fe21934257b110dc01fccc9a8a9672f4c
treeb0f2c21c86f44b8ed87dd216a836a460feb6bf19
parent6400b90ade0dad53333074fc8383f15cbd9c7d72
include/log: Add logging facilities

This commit adds the log module which can be adopted by scripts to log
messages to log files that are stored in TOOLBOX_HOME. The module also
provides convenience functions for highlighting output and printing
stack traces.
include/log.sh [new file with mode: 0644]