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.1.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.1-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: logger_pauwels-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 cd0e06e1da10e2f636e46ee70904682ee3e360ce7e8c00f637d8976cf9d803d5
MD5 3ce5b531d67bfcb20c0f2dbfb140591e
BLAKE2b-256 9fb46e189de050acd4ed823074dc634717050f3103277a80de58b2193807dfcb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: logger_pauwels-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bed94004e6067580c7a80b0c79127aadcb530af9f2f76cafda37cd652d4cff42
MD5 ef98c71d671bb6a1b3d266f09c474156
BLAKE2b-256 1dcc9839190b3cefd7ce37fa1444fee928362a604cdbe9798a93d81a93ded0cf

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