Files
LaGriT/test/testlagrit/logger.py
2025-12-17 11:00:57 +08:00

6 lines
215 B
Python

import logging
# Configure the logger that will write test info to a file
logging.basicConfig(filename='lagrit-tests.log', level=logging.DEBUG, format='%(levelname)s:%(message)s')
log = logging.getLogger(__name__)