add logging test

This commit is contained in:
neingeist 2017-08-16 15:27:13 +02:00
parent 7387443a80
commit 99af24ce61
2 changed files with 5 additions and 0 deletions

1
.gitignore vendored
View file

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

4
logging-test.py Normal file
View file

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