Skip to main content

tentalog

Configure your logging with a YAML file. A simple and light weight logging configuration is provided by default.

Getting Started

To install tentalog in your environment you can simply use

pip install tentalog

Logging with Tentacle

The Tentacle is the single unit of tentalog, managing a single logger. To start logging with tentacle you can do something like this:

from tentalog import Tentacle

tentacle = Tentacle(name='mylogger')

logger = tentacle.logger
logger.info("Hello World")

This code will use the tentalog default configuration, that contains the configuration of two logging handlers, one for the console and one for a time based file rotation of 15 days. If the "mylogger" logger is not found in configuration, the "root" logger will be used and a warning message will be showed. If the name of the logger is specified, the "root" logger will be used. If you want to use a custom configuration you can just initialize your Tentacle in this way:

tentacle = Tentacle(path='myconf.yaml')

Versioning

We use SemVer for versioning.

Metadata

Release files for tentalog 0.2.1

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

Source distribution (sdist)

Source distribution for tentalog 0.2.1
File Size Uploaded Provenance Actions
tentalog-0.2.1.tar.gz 3.9 kB Without provenance Details for tentalog-0.2.1.tar.gz

Built distribution (wheel)

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

Total release size: 8.3 kB

Release files / tentalog-0.2.1.tar.gz

Download URL tentalog-0.2.1.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
400a079b0b54cecc7673393f603b736a299847a141ff9fee350fb37e4a8d2e67
BLAKE2b-256 checksum
How to use checksums
c71dbb4a95ee0181628dddebb1defe48d4142767f1c7dabebbe42a0ab7393fed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.9

Release files / tentalog-0.2.1-py3-none-any.whl

Download URL tentalog-0.2.1-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
84a282dbc8727885e25a409ba623687dac111431dec427d2dd580f3b9d518971
BLAKE2b-256 checksum
How to use checksums
052faa2a5ae05de2391305586a80264f16d5df18412652b7f0735b5788c31da3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.9

Security for tentalog 0.2.1

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.

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files No provenance

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