Skip to main content

Logger that can be used as a standard logger for various packages in case of further logs parsing

Sample usage

from standarted_logger.logger import Logger
logger = Logger.get_logger("my_module")

logger.info("output_text")

Expected output:

2025-01-14 11:49:19,316 - my_module - INFO - <module> - output_text

Usage with log levels

import logging
from standarted_logger.logger import Logger

logger = Logger.get_logger("my_module", log_level=logging.INFO)
logger.debug("output_text")

This will not print anything, since debug_level is set to INFO. The log level by default is DEBUG.

Logging to file

from standarted_logger.logger import Logger

logger = Logger.get_logger("my_module", log_dir="logs")
logger.debug("output_text")

Will create directory named "logs" at your script folder and a file my_module.log within it

Metadata

Release files for standarted-logger 0.0.6

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

Source distribution (sdist)

Source distribution for standarted-logger 0.0.6
File Size Uploaded
standarted_logger-0.0.6.tar.gz 1.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for standarted-logger 0.0.6
File Interpreter ABI Platform
standarted_logger-0.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 3.7 kB

Release files / standarted_logger-0.0.6.tar.gz

Download URL standarted_logger-0.0.6.tar.gz
Size 1.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ab942ffd374028628eca3ac11ff030f53f09999801c0d732205de908a46881ff
BLAKE2b-256 checksum
How to use checksums
10c064ddfefc309b68ea11a2567fa95896d433250e140d691c5113c9ba4e39c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.0.1 CPython/3.12.8

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 16, 2025.

Transparency log

Release files / standarted_logger-0.0.6-py3-none-any.whl

Download URL standarted_logger-0.0.6-py3-none-any.whl
Size 2.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6b6b8515a6f84f1678a83163a7c0e0d9b0d3b1e75375da4cb11bad676ef3b774
BLAKE2b-256 checksum
How to use checksums
3470b37dc145d0377c85c322e44a690e501715b691fd5c0a447f8747b176f540
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.0.1 CPython/3.12.8

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 16, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.0.6 This release

2 release files

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