Tea Logger
Project description
Tea Logger
Python Tea Logger
Table of Content
Overview
Tea Logger is a simple logging package for Python.
Quick Start
Install the tealogger package, available on
Python Package Index (PyPI).
pip install tealogger
Import the tealogger package to use.
import tealogger
# Set the logging level (optional)
tealogger.setLevel(tealogger.DEBUG)
tealogger.warning("WARNING: Message")
Level
From high (CRITICAL) to low (DEBUG).
CRITICAL= 50FATAL=CRITICAL(Do not use, useCRITICALinstead)ERROR= 40WARNING= 30WARN=WARNING(Deprecated, useWARNINGinstead)INFO= 20DEBUG= 10NOTSET= 0EXCEPTION
Note
Child Logger
When creating a child logger, if there are no handler(s) added, it will inherit the handle(s) from the parent. But if the parent logger itself is set to a higher level, the higher level gets respected. Since the parent handler(s) attached to the parent logger only output if the parent logger allows it.
Reference
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tealogger-0.9.0.tar.gz.
File metadata
- Download URL: tealogger-0.9.0.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
711fc5e6d04f7df2a19542b5ed6688905afd7e7d21712eadf3b1e7e5824ac8b1
|
|
| MD5 |
d52007e3ff3bd1ece489aa3678635a38
|
|
| BLAKE2b-256 |
e09ea8a069d5ad0873cfb803e18ec9fd4edbbd5c4845ba74d8be46e2f9bb7cb2
|
File details
Details for the file tealogger-0.9.0-py2.py3-none-any.whl.
File metadata
- Download URL: tealogger-0.9.0-py2.py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a1e78b08dc352a9894bbc06a767e887396feb2929aae3d85da361ddf0a4b90ab
|
|
| MD5 |
50da877b5d12ec3d7bdec4d60abdfb4d
|
|
| BLAKE2b-256 |
82e42136298ab2a5a49b0076e02febc6930cf375f8e201b7001aa612826d8401
|