Skip to main content

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 = 50
  • FATAL = CRITICAL (Do not use, use CRITICAL instead)
  • ERROR = 40
  • WARNING = 30
  • WARN = WARNING (Deprecated, use WARNING instead)
  • INFO = 20
  • DEBUG = 10
  • NOTSET = 0
  • EXCEPTION

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

Metadata

Release files for tealogger 0.9.3

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

Source distribution (sdist)

Source distribution for tealogger 0.9.3
File Size Uploaded Provenance
tealogger-0.9.3.tar.gz 10.5 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 27.5 kB

Release files / tealogger-0.9.3.tar.gz

Download URL tealogger-0.9.3.tar.gz
Size 10.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e08eae96a85ecbf58a4d50a3754e950d564c92dd011314edf95daa7a2e9ff5bb
BLAKE2b-256 checksum
How to use checksums
90a43da33a1cc20fc7acd1e2d0346a88e5d2fd4c65e0687b6b06476ff30b77eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.14

Release files / tealogger-0.9.3-py3-none-any.whl

Download URL tealogger-0.9.3-py3-none-any.whl
Size 17.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5b1dae117e9f7d01101b51b6dce8e8ce47cc882aeedf7c6c92e8d0aae3b0aa47
BLAKE2b-256 checksum
How to use checksums
6ecc54dcf2dd9d28d82a22bea57e6b359a5e37aee24aec0f2945f74e0f34ed7b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.14

Security for tealogger 0.9.3

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