Skip to main content

No project description provided

Project description

csmlog

Build Status

Package to setup a python logger the way I like to use it.

  • By default logs to files per logger and one for the overall project
  • So a master logger with sub loggers per file (obtained via getLogger())

Usage

from csmlog import setup, getLogger
setup("appName") # call setup once per application before obtaining any loggers(not once per file)
logger = getLogger(__file__)

# logger is a Python logger... feel free to use it.
# You should see logs in APPDATA on Windows and /var/log on Linux

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

csmlog-0.5a0.tar.gz (3.9 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