logging python w3 code example
Example 1: logging python
logging.basicConfig(filename='example.log', filemode='w', level=logging.DEBUG)
Example 2: python logging
!python -m unittest test_volume_cuboid.py
logging.basicConfig(filename='example.log', filemode='w', level=logging.DEBUG)
!python -m unittest test_volume_cuboid.py