Skip to content

Instantly share code, notes, and snippets.

View papaben's full-sized avatar

Benjamin VanEvery papaben

View GitHub Profile
@nadeemahmad
nadeemahmad / log-level.sh
Created January 6, 2016 22:51
Bash library for logging
##
# Log levels for bash scripts
# vim: set ft=sh :
##
# Date format for logging
declare -r DATE_FORMAT='+%Y-%m-%d:%H:%M:%S:%:z'
##
# These are the "methods" that your script will use to do the logging