Created
October 4, 2016 02:21
-
-
Save knmkr/4d19c396e30b8e649d7baa1345c4c388 to your computer and use it in GitHub Desktop.
bash logging
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# https://raw.githubusercontent.com/andsens/homeshick/master/lib/log.sh | |
# https://raw.githubusercontent.com/andsens/homeshick/master/lib/exit_status.sh | |
source "lib/exit_status.sh" | |
source "lib/log.sh" | |
info 'foo' 'bar' | |
warn 'foo' 'bar' | |
test -x $(which git) || err $EX_SOFTWARE "git not found in path" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment