Skip to content

Instantly share code, notes, and snippets.

@dvliman
Created March 10, 2017 17:27
Show Gist options
  • Save dvliman/93cdb47eb09bd3e9147ff857fd55dbc6 to your computer and use it in GitHub Desktop.
Save dvliman/93cdb47eb09bd3e9147ff857fd55dbc6 to your computer and use it in GitHub Desktop.
readonly LOG_DEFAULT_COLOR=$(tput sgr0) # Clear colors
readonly LOG_ERROR_COLOR=$(tput setaf 1) # Red
readonly LOG_INFO_COLOR=$(tput sgr 0) # White
readonly LOG_SUCCESS_COLOR=$(tput setaf 2) # Green
readonly LOG_WARN_COLOR=$(tput setaf 3) # Yellow
readonly LOG_DEBUG_COLOR=$(tput setaf 4) # Blue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment