sanelogging/example/example.py

11 lines
146 B
Python

#!/usr/bin/env python
from sanelogging import log
log.info("starting up!")
log.error("something went wrong.")
log.die("bailing out") # exits