Skip to main content

README

This package shall make logging easier. These are the goals:

  • Make setup of a logger with time-stamped log messages a no-brainer
  • Make adding/removing additional log files a one-liner

Use it like this:

from flexlog import cleanlogger

log = cleanlogger.CleanLogger("My Cool Module Name, Version 42")

# Log to console
log.info("Hello World!")

# Add a file
log.add_filelogger("mylogging.log")
log.debug("Log level of files is debug by default, but you can give it as parameter, too.")

import logging
log.add_filelogger("problemsonly.log", loglevel = logging.WARNING)

# Remove a file
log.remove_filelogger("mylogging.log")

Release files for flexlog 1.5.0

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

Source distribution (sdist)

Source distribution for flexlog 1.5.0
File Size Uploaded
flexlog-1.5.0.tar.gz 3.8 kB Details

Built distribution (wheel)

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

Total release size: 8.0 kB

Release files / flexlog-1.5.0.tar.gz

Download URL flexlog-1.5.0.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
5e4c8e4c4be8e17ec2d42944c8ced7c97c9ad34abedb6d38dea7284cb477d9be
BLAKE2b-256 checksum
How to use checksums
7de46cd908eac8e439a1e1a0f5dd5b14efc1482dfbde470edbbe9daa29e2f808
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

Release files / flexlog-1.5.0-py3-none-any.whl

Download URL flexlog-1.5.0-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ef8c10cbfd5deef174dc1a2ea197ea1640578fd74b95c17b4a91a836eacf2067
BLAKE2b-256 checksum
How to use checksums
52922771ce357f60bcca4b133e5692a033e0297bac6c79711941b007f067a7ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

Release history Release notifications | RSS feed

This release

1.5.0 This release

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.0

2 release files

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