Skip to main content

Minimalistic wrapper for Python logging.

Project description

Unix: Unix Build Status Windows: Windows Build StatusMetrics: Coverage Status Scrutinizer Code QualityUsage: PyPI Version

Overview

Instead of including this boilerplate in every module:

import logging

log = logging.getLogger(__name__)

def foobar(name):
    log.info("Hello, %s!", name)

with this package you can simply:

import log

def foobar(name):
    log.info("Hello, %s!", name)

It will produce the exact same standard library logging records behind the scenes.

Installation

$ pip install minilog

Setup

Currently, minilog works out of the box, but that might change.

Revision History

0.0.0 (YYYY/MM/DD)

  • TBD

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

minilog-0.0.1.tar.gz (5.6 kB view hashes)

Uploaded Source

Built Distribution

minilog-0.0.1-py3-none-any.whl (6.1 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