added example, edited readme
This commit is contained in:
BIN
example/example.png
Normal file
BIN
example/example.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 55 KiB |
10
example/example.py
Normal file
10
example/example.py
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user