add logging test
This commit is contained in:
parent
7387443a80
commit
99af24ce61
2 changed files with 5 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -8,3 +8,4 @@ test_swig_opencv.py
|
||||||
test_swig_opencv_wrap.cxx
|
test_swig_opencv_wrap.cxx
|
||||||
anki-sin-cos-table.txt
|
anki-sin-cos-table.txt
|
||||||
json_memoize*.json
|
json_memoize*.json
|
||||||
|
*.log
|
||||||
|
|
4
logging-test.py
Normal file
4
logging-test.py
Normal 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')
|
Loading…
Add table
Add a link
Reference in a new issue