bashlog icon indicating copy to clipboard operation
bashlog copied to clipboard

A simple but powerful logging library for bash

Results 6 bashlog issues
Sort by recently updated
recently updated
newest added

* Updated some failing tests (namely the json file tests, which were incorrectly looking for the non-json log file) * Parameterized the script name instead of running $(basename 0) everywhere...

Ref: I was confused/surprised by this behavior at first.

filepath support after source, find the real log file adn lineno

i try to modify no. 106 line to do this ``` local std_line="${colour}${date} [${upper}] ${line}${norm}"; ``` add linenumber ``` local std_line="${colour}${date} [${upper}] ${BASH_LINENO}: \t${line}${norm}"; ``` and 79 line ``` local...

All logs should be output (when `BASHLOG_FILE=0` of course) to stderr, so that stdout is reserved for meaningful program output, for easy pipelines etc. Currently, only the 'error' level log...