Settings

Theme

Logging Module for Bash Scripts

github.com

3 points by leonletto 3 years ago · 1 comment

Reader

leonlettoOP 3 years ago

This script is used for logging messages to the console and a log file and is designed to be similar to the API of the python logging module. It includes log rotation by size and by the number of log files.

I hope it's helpful to those who still need to standardize their logging. It is opinionated so importing into log platforms is easy.

My first submission of any code, so suggestions are welcome.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection