add logging test

master
neingeist 7 years ago
parent 7387443a80
commit 99af24ce61

1
.gitignore vendored

@ -8,3 +8,4 @@ test_swig_opencv.py
test_swig_opencv_wrap.cxx
anki-sin-cos-table.txt
json_memoize*.json
*.log

@ -0,0 +1,4 @@
import logging
logging.basicConfig(level=logging.DEBUG, filename='logging-test.log')
logging.info('this should go to the log file')
Loading…
Cancel
Save