added example, edited readme

This commit is contained in:
2016-03-24 07:38:42 +01:00
parent e7d17019e3
commit 104c80160b
3 changed files with 25 additions and 11 deletions

BIN
example/example.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

10
example/example.py Normal file
View File

@@ -0,0 +1,10 @@
#!/usr/bin/env python
from sanelogging import log
log.info("starting up!")
log.error("something went wrong.")
log.die("bailing out") # exits