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.2.tar.gz (6.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.2-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: logger_pauwels-0.1.2.tar.gz
  • Upload date:
  • Size: 6.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.2.tar.gz
Algorithm Hash digest
SHA256 74f5f30d9c76f0eda56f8523f8db6525bd1833b733539571c0cb5faf8c67be31
MD5 60e534115c7e09592f8e8b40353b757e
BLAKE2b-256 81fb3840c32cc543609b0e8ba7214a7c6ae59ab734d8ac9abb62125fa57388e1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: logger_pauwels-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.6 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 69a7c943dc2759c0e7fa05180ecd1c27f0f8d9f8d4d9a8ac3aa077ffd85270bf
MD5 c6d5deb4eacc57abab9490964e093b65
BLAKE2b-256 171fa13fb5d2cbff8283a95641c2fd1954687fd3f5459eafb64906afdda95ef6

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