Skip to main content

Simple logger to have fancy logs :D

Project description

Python-Logger

Logger for python that can write into stdout, create a log file at the end.

Usage

You can have diferent types of logs:

  • log, normal logs

  • warn

  • error

  • debug, can be disabled with parameter self.debug (debug=False in constructor)

  • success

  • failed

You also have different kind of layout functions:

  • section, create a separation to arrange your logs
................................. SECTION .................................
  • cadre, create a rectangle with text inside
################################################################################
#                                                                              #
#                                                                              #
#                                    CADRE                                     #
#                                                                              #
#                                                                              #
################################################################################

Macros to start and finish your logs are here to help you:

  • init, Create a cadre and start timer
  • end, stop timer, create a last log with total duration and save into file

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

logger_pauwels-0.1.0.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

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

logger_pauwels-0.1.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file logger_pauwels-0.1.0.tar.gz.

File metadata

  • Download URL: logger_pauwels-0.1.0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for logger_pauwels-0.1.0.tar.gz
Algorithm Hash digest
SHA256 74e13f1385de92c5a95d4f15b1b0661802b7f31a4db92a53cb780d4b15589ea0
MD5 5614f16aadc5b113dfbd0453302d0629
BLAKE2b-256 3921d541cf989adc2f1e3f00e0c5ce59af753cb49192343b829669a0ae6d6d9e

See more details on using hashes here.

File details

Details for the file logger_pauwels-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: logger_pauwels-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for logger_pauwels-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d12c741c4cec75ca05d6bdffba6e13e998de6d1345c07faea5b23a847b0f8852
MD5 9b6fffc941bacbc47200deff09b4eddc
BLAKE2b-256 8e491008e874873174cac95e92d1157d0b287d96158f558c6f4b25ff05467d1c

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