Configure logger to write logs into the appdata directory
Project description
Configure logger to write logs into the %appdata%
directory.
Usage:
import logging
import appdata_logger
logger = logging.getLogger(__name__)
if __name__ == '__main__':
appdata_logger.config_with_stdout_and_file_handlers(application='myapp')
appdata_logger.log_command_line()
logger.info('Started')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
adddata_logger-0.1.1.tar.gz
(2.8 kB
view hashes)