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.

Files for lifeomic-logging, version 0.3.1
Filename, size File type Python version Upload date Hashes
Filename, size lifeomic_logging-0.3.1.tar.gz (4.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page