For my small personal projects, I usually use Slack as a central notification and logging system to help me keep track of the state of my applications. Below is a simple bash function that I use a lot in many of my bash scripts in order to send a notification to a Slack channel: ####### Send notification messages to a Slack channel by using Slack webhook# # input parameters:# $1 - message level: 'INFO' | 'WARN' | 'ERROR'# $2 - pretext# $3 - main text######SLACK_WEBHOOK_URL=xxx SLACK_CHANNEL=x...| Tech Notes from Steven