Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Python logging dictionary configuration from yaml, json or dictionary.

Project Description

Python Tools for Setting up Logging

Loggingtools

setup_logging

import logging
from loggingtools import setup_logging
setup_logging('logging.yml')
logger = logging.getLogger('<your_logger>')
...

log_with

import logging
from loggingtools import log_with

...  # setup your loggers

logger = logging.getLogger('<your_logger>')

@log_with(logger)
def function(arg, arg2):
    ...

Installation

Loggingtools can be installed through pip using command

pip install loggingtools

Command Line Client

loggingtools config

Command line arguments

-n, --filename=logging
 Filename for logging configuration
-f, --fileformat=yml
 Fileformat: {yml, json}

Release History

This version
History Node

0.0.4

History Node

0.0.3

History Node

0.0.2

History Node

0.0.1

Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
loggingtools-0.0.4-py3-none-any.whl
(15.4 kB) Copy SHA256 Hash SHA256
Wheel py3 Apr 20, 2017
loggingtools-0.0.4.tar.gz
(31.5 kB) Copy SHA256 Hash SHA256
Source None Apr 20, 2017

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting