Skip to main content

Python Tools for Setting up Logging

Travis continuous intergration Appveoyr continuous intergration Codecov coverage hosting Code issues Updates Join the chat at https://gitter.im/loggingtools/Lobby Documentation Status

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}

References

Metadata

Release files for loggingtools 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for loggingtools 0.0.4
File Size Uploaded Provenance Actions
loggingtools-0.0.4.tar.gz 31.5 kB Without provenance Details for loggingtools-0.0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for loggingtools 0.0.4
File Interpreter ABI Platform Actions
loggingtools-0.0.4-py3-none-any.whl Python 3 none any Details for loggingtools-0.0.4-py3-none-any.whl

Total release size: 47.0 kB

Release files / loggingtools-0.0.4.tar.gz

Download URL loggingtools-0.0.4.tar.gz
Size 31.5 kB
Tags Source
SHA-256 checksum
How to use checksums
161afedc33cce46d1444474606faf42524489f5a4859cb506cea353a3c345f0b
BLAKE2b-256 checksum
How to use checksums
513f3ebdd23ad031a5e56c2771206dd30f61c7b28d8f60e5d7bd9438f866d9d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / loggingtools-0.0.4-py3-none-any.whl

Download URL loggingtools-0.0.4-py3-none-any.whl
Size 15.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bb5c75b29175b127f7449daef55cdca1bd7bc9f44478c184e7d9f89a86f5aec7
BLAKE2b-256 checksum
How to use checksums
f16c382d92896708da2025542a3ae996fa73a6968cd388ad0049203281440266
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for loggingtools 0.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page