Skip to main content

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_console_and_file_handlers(application='myapp')
    appdata_logger.log_command_line()
    logger.info('Started')

Project details


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.2.0.tar.gz (3.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page