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

Uploaded Python 3

File details

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

File metadata

  • Download URL: logger_pauwels-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 ee7c5b00c0506a34559b81b47f57ef7532e23828f881c4285073db9e8782dca9
MD5 def07594737ed51c2c9dcc3400f6d535
BLAKE2b-256 9a83013528d930855a95900dc40ed03cc6df0f2b2f2ed79ac5aa60cdbe6f5927

See more details on using hashes here.

File details

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

File metadata

  • Download URL: logger_pauwels-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 af82835a83560ec11119ec413b267370c723e1c32f8ae4c5f4a3144e14b19976
MD5 5ebe50199d48526c95758a52b5dedfcf
BLAKE2b-256 144159c4aa89b6215b4d0b20572afe94f1301203f0e255eb795c2fb210f04d44

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