diff --git a/.gitignore b/.gitignore index 7e464c9..6e8fed1 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ test_swig_opencv.py test_swig_opencv_wrap.cxx anki-sin-cos-table.txt json_memoize*.json +*.log diff --git a/logging-test.py b/logging-test.py new file mode 100644 index 0000000..ff3ad83 --- /dev/null +++ b/logging-test.py @@ -0,0 +1,4 @@ +import logging + +logging.basicConfig(level=logging.DEBUG, filename='logging-test.log') +logging.info('this should go to the log file')