gbe0 Log
My standard logging module.
Installation
To install from PyPI:
python3 -m pip install gbe0-log
Usage
To use in scripts check example.py.
Example:
## Import module
from gbe0_log import Logger
import logging as log
## Initialize logger
## This only needs to be done once
Logger(verbosity = 5)
## Log some messages
log.critical('A message to log at critical level') # Always logged (verbosity level 0)
log.error('A message to log at error level') # Always logged (verbosity level 0)
log.warning('A message to log at warning level') # Verbosity level 1
log.info('A message to log at info level') # Verbosity level 2
log.verbose('A message to log at verbose level') # Verbosity level 3
log.debug('A message to log at verbose level') # Verbosity level 4
log.trace('A message to log at trace level') # Verbosity level 5
Example Output
Output is to stderr and looks like this:
Metadata
Release files for gbe0-log 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gbe0-log-1.0.0.tar.gz | 5.3 kB | Without provenance | Details for gbe0-log-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gbe0_log-1.0.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for gbe0_log-1.0.0-py2.py3-none-any.whl |
Total release size: 10.7 kB
Release files / gbe0-log-1.0.0.tar.gz
| Download URL | gbe0-log-1.0.0.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6eec6b5c024e68b6ed083774a8675cd0450acc05bb639c2fa69f6cd03143d431
|
|
BLAKE2b-256 checksum How to use checksums |
81227ac7626f71a646c0e7ae20eaa5b7a3c5cc194dd52d402b8caec484b9a6dd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.2 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.6
|
Release files / gbe0_log-1.0.0-py2.py3-none-any.whl
| Download URL | gbe0_log-1.0.0-py2.py3-none-any.whl |
|---|---|
| Size | 5.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
69387a6f21e60bbc7967740d04b28f3eeb7cf1ae965a3a94bc4ea54bc52a70c9
|
|
BLAKE2b-256 checksum How to use checksums |
4e262e15f8caed39ade4ad0b18868333d7debe3ad3dc574d7c56e11f17a54843
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.2 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.6
|
Security for gbe0-log 1.0.0
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.