sanelogging/example/example.py

12 lines
171 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
2016-03-24 06:47:15 +00:00
print "no soup for you."