This file contains 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 | |
# Copyright 2016 Postmates Inc. | |
# | |
# Author: Benjamin Staffin | |
# | |
# Logging library for bash scripts | |
# | |
# Features: | |
# * Nicely formatted messages with timestamp, source file and line number | |
# * Stack traces on abnormal exits, similar to Python |