Function

From wikieduonline
Revision as of 12:52, 17 February 2021 by Welcome (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Bash[edit]

log() {
	 echo "[$(date --rfc-3339=seconds)]: $*"
}


error() {
  	 echo "[$(date --rfc-3339=seconds)]: $*"
 	 exit 1
}

Python[edit]

See also[edit]