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.4.tar.gz (7.1 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.4-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: logger_pauwels-0.1.4.tar.gz
  • Upload date:
  • Size: 7.1 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.4.tar.gz
Algorithm Hash digest
SHA256 65e228bffa47136f1502cf678c7078ccd508b6e6834ce05f8c5f62e7f5c3f983
MD5 e49e6c74204cf0f372586ae17e53062a
BLAKE2b-256 d44ca47d5d1b5d2215d3cc350baf2819eb5254e49e48d6ebb1f3096b655763de

See more details on using hashes here.

File details

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

File metadata

  • Download URL: logger_pauwels-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 6.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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0a23b5fea6c259c3ad9e0df5e2b9772912a1254dfd9f372a32d6047745f17c8c
MD5 e8975b457c0f95c9205f0b25daa9d211
BLAKE2b-256 f19f87c3c802286e01cab778cf3696a9c14c9b2939fa21eab2b69d3ac458e835

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