Skip to content

Instantly share code, notes, and snippets.

View meirlazar's full-sized avatar

Meir Lazar meirlazar

View GitHub Profile
@GingerGraham
GingerGraham / bash_logging.md
Last active November 27, 2025 20:23
Bash Logging

Bash Logging Module

A flexible, reusable logging module for Bash scripts that provides standardized logging functionality with various configuration options.

Features

  • Standard syslog log levels (DEBUG, INFO, WARN, ERROR, CRITICAL, etc.)
  • Console output with color-coding by severity
  • Optional file output
  • Optional systemd journal logging