Skip to main content

SIP logging module.

Project description

SIP logging module

Provides a function for initialising the SIP logger. This uses a custom logging formatter class which prints log messages with microsecond timestamps.

Usage:

import logging
from sip_logging import init_logger


def foo():
    log = logging.getLogger('sip.foo')
    log.info('hello world!')


if __name__ == '__main__':
    init_logger()
    foo()

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

skasip_logging-1.0.1.tar.gz (2.0 kB view hashes)

Uploaded Source

Built Distribution

skasip_logging-1.0.1-py3-none-any.whl (3.6 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