Skip to main content

pylogz

Super basic logger used in personal projects.


Why should you use this? You probably shouldn't.


Quickstart

pip install --upgrade pylogz

Usage

from logz import get_logger 

logger = get_logger(name='libname', log_level='info', *args, **kwargs)
logger.info('...')

### Multi lib usage, threadsafe-ish

from logz import get_cls_logger
get_logger = get_cls_logger(name='libname_1', log_level='info', *args, **kwargs)
get_logger2 = get_cls_logger(name='libname_2', log_level='info', *args, **kwargs)

# Now you can call the get_logger function from any submodule.
logger = get_logger()
logger.info('hi')
"""
2021-12-03 03:36:26Z [libname_1] <stdin>.<module>             hi
"""

logger2 = get_logger2()
logger2.info('hi')
"""
2021-12-03 03:36:26Z [libname_2] <stdin>.<module>             hi
"""

Metadata

Release files for pylogz 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 pylogz 0.0.4
File Size Uploaded Provenance Actions
pylogz-0.0.4.tar.gz 4.6 kB Without provenance Details for pylogz-0.0.4.tar.gz

Built distribution (wheel)

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

Total release size: 9.6 kB

Release files / pylogz-0.0.4.tar.gz

Download URL pylogz-0.0.4.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c99f84cf087b1617464c322396883f16c2d1347d7613fec089102097d4c389df
BLAKE2b-256 checksum
How to use checksums
b1707e2b66f5df69ddc1dffa6df3d190fc643d0f9457770e2e372626c1197824
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

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

Download URL pylogz-0.0.4-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e7795a47bd7e69a7b46985d66b8fdce18697302ee9db280c5821cfc10188f325
BLAKE2b-256 checksum
How to use checksums
1d5a3a7a6cac2217a592d16764024b1fc4c0bc424eab53baaeba944f26c28c25
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

Security for pylogz 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