log4bash
log4bash copied to clipboard
log4bash is an attempt to have better logging for Bash scripts (i.e. make logging in Bash suck less).
Since computer font is not usually available on all computers, an If condition has been added to allow logging if the device does not have a computer font.
log4bash.sh: line 103: computer font is not available on most computers.
do we have flag to enabe/disable the debug log?
Similar to [log_campfire](https://github.com/fredpalmer/log4bash/blob/578e125c83b4f95581816cbbc6e078009cbc494c/log4bash.sh#L113) it would be nice to add a "log_slack" option to send messages to a slack channel. Thanks for this project. There are some other projects in github...
NDC is a feature from Log4perl.
Updated README.md
For example, here is my simple script using log4bash.sh ```bash #!/bin/bash source log4bash.sh log "COOL" log_warning "HELP!" log_info "AWESOME" log_success "WEWEWEWE" log_error "ERROR!" ``` and the output is - ```bash...
Howdy Fred, I just wanted to than you for log4bash, and give you a heads up that I forked it and made a POSIX shell compatible variant of it, called...
It appears that BusyBox has some issues with the declare built-in, but changing it to export appears to get it running with exception to colors working properly.