Skip to main content

structured log for python

Project description

Doc

Thank you for using the tag-logger package !

This log module is meant to be as little and simple as possible, and to work on every project you want it on.

Feel free to modify the code depending on the uses, and if you think somethin misses or might be improved, please tell me on the github page of the project.

To use it :

the module is built to allow only one hidden instance of the Log object, so you don't have to instanciate the Log object.

To call the module :

from taggedLog.log import Log

To open the log :

Log.start_log(...)

then you can use the methods :

Log.info(...) which write an information in the log
Log.warning(...) which write a warning in the log
Log.error(...) which write an error in the log

Finally, close your log at the end of your program :

Log.close_log()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

taggedlog-1.0.5.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

taggedlog-1.0.5-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file taggedlog-1.0.5.tar.gz.

File metadata

  • Download URL: taggedlog-1.0.5.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for taggedlog-1.0.5.tar.gz
Algorithm Hash digest
SHA256 1bcbfb513e23135726c6e16d2787378e40bce560cdfb5ca76a4227fc2aed73f7
MD5 cd92870bcb0689a6238de3037a90d603
BLAKE2b-256 2b3ccbb4ba829e20cca99f978b4c8965d8cf52d0419cfb06270a20cb5a6a4627

See more details on using hashes here.

File details

Details for the file taggedlog-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: taggedlog-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for taggedlog-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 936eee0d9bb81590de842b12a54e268ede23980345c005632d3145345a0ce74f
MD5 79aff40cea1b8a8b3cb3a60947a11478
BLAKE2b-256 1595f80ea372ae496edd7f80301b8043d51707783eb6a2a299f5460ecbfc1efd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page