Skip to main content

Utilities we use for logging.

Project description

yplan-logging-utils

https://img.shields.io/pypi/v/yplan-logging-utils.svg https://img.shields.io/travis/YPlan/yplan-logging-utils.svg

Utilities we use for logging throughout our projects.

  • Free software: ISC license

Features

  • PlainJSONFormatter - a formatter that turns logging records into dict``s in our (somewhat in-house) format. Note it returns a ``dict which is somewhat non-standard but compatible with the fluent-logger package.
  • JSONFormatter - a subclass of the above that does json.dumps so you get the stringified version of the dictionary.

History

Pending Release

  • New release notes go here.

1.0.1 (2016-01-21)

  • Add PlainJSONFormatter to return dictionaries plain and not encoded to strings, required for fluent-logger’s handler.

1.0.0 (2016-01-15)

  • First release on PyPI.
  • Includes JSONFormatter

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for yplan-logging-utils, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size yplan_logging_utils-1.0.1-py2.py3-none-any.whl (4.3 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size yplan-logging-utils-1.0.1.tar.gz (4.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page