- # coding: utf-8
- import logging
- import logging.config
- logging.config.fileConfig("../conf/logger.conf")
- logger = logging.getLogger("example01")
- logger.debug('This is debug message')
- logger.info('This is info message')
- logger.warning('This is warning message')
|