Skip to content

Instantly share code, notes, and snippets.

@miztiik
Created August 3, 2022 12:24
Show Gist options
  • Save miztiik/3bf8dba71ad97be9b6025c482b148759 to your computer and use it in GitHub Desktop.
Save miztiik/3bf8dba71ad97be9b6025c482b148759 to your computer and use it in GitHub Desktop.
# USAGE llog write to console
llog() {
echo "$(date '+%Y-%m-%d %H:%M:%S%s') $(printf ' %q' "$@")"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment