This is a simple logging script compatible with /bin/zsh. See example.sh for the example illustrated below and it's documentation.
- Colorful messages with timestamps and propper indents
- Pipe output to log file (
logs/logger.log) - Handy logging functions (
DEBUG,INFO,SUCCESS,WARN,ERROR) - Debugging of function calls (
ENTRYandEXIT)
- Strip off terminal colors from output log file
- Pass in custom date format as argument
- Create color variables in every function
See docs/colors.sh to print a table of your terminal colors
