sanelogging/example/example.py

11 lines
146 B
Python
Raw Normal View History

2016-03-24 06:38:42 +00:00
#!/usr/bin/env python
from sanelogging import log
log.info("starting up!")
log.error("something went wrong.")
log.die("bailing out") # exits