Skip to main content

LifeOmic Python Logging Library.

Project description

LifeOmic Python Logging

Project Status

GitHub Travis (.org) branch PyPI status Downloads GitHub release

Getting Started

Dependencies

Getting the Source

This project is hosted on GitHub. You can clone this project directly using this command:

git clone git@github.com:lifeomic/logging-py.git

Development

Python environments are managed using virtualenv. Be sure to have this installed first pip install virtualenv. The makefile will setup the environment for the targets listed below.

Running tests

make test

Linting

make lint

Installation

pip3 install lifeomic_logging

Usage

from lifeomic_logging import scoped_logger

with scoped_logger(__name__, { "bar": "foo" }) as log:
  log.info("message")

Release Process

Releases are generally created with each merged PR. Packages for each release are published to PyPi. See CHANGELOG.md for release notes.

Versioning

This project uses Semantic Versioning.

Contributing

We encourage public contributions! Please review CONTRIBUTING.md and CODE_OF_CONDUCT.md for details on our code of conduct and development process.

License

This project is licensed under the MIT License - see LICENSE file for details.

Authors

See the list of contributors who participate in this project.

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

lifeomic_logging-0.2.18.tar.gz (4.5 kB view hashes)

Uploaded Source

Built Distribution

lifeomic_logging-0.2.18-py3-none-any.whl (5.8 kB view hashes)

Uploaded Python 3

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