Skip to main content

Logger for Python

Project description

This Package can be used from Debugging purposes. When you are working in long project, you often use print statement for debugging purposes. Sometime, you use to many print statement and after completing debugging you spent sometime to find and remove all those previous print statement

What does this package do? When you print something for debugging purposes using this package, it will print out in following pattern

[TYPE_OF_WARNING] -> TextType (INFO, WARNING, etc) [From] -> Which method is calling this packages' method [Line] -> On which line is it calling [Statement(s)] -> Print all the messages you have writen

You can even pass multiple texts as parameters just like in print statement

Example from package_logger import LoggerClass, TextType

logger = LoggerClass() logger.print("Hello", "World", type_ = TextType.INFO)

You can use colorPrint method instead of print method to print with color for different messages type Example from package_logger import ColorType logger.colorPrint("Hello", "World", type_ = TextType.INFO, color = ColorType.COLOR_INFO)

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

package_logger-1.0.0.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

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

package_logger-1.0.0-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

Details for the file package_logger-1.0.0.tar.gz.

File metadata

  • Download URL: package_logger-1.0.0.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for package_logger-1.0.0.tar.gz
Algorithm Hash digest
SHA256 b1111066d9bbfe8c8f7d667d84743c103dfe187d3f4708c5c9359e216adb12f5
MD5 ef85e1afc644a71813feada7abefa802
BLAKE2b-256 12ca92893bdfd5ec8bb66e02cb1c095ffea51ccf21274b6fdd2c91ba7e4258dc

See more details on using hashes here.

File details

Details for the file package_logger-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: package_logger-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 2.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for package_logger-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7e2f6eaa854364ee169efde1b9a86d62aa204a27f704c82db98aee88501bbe9f
MD5 2fed81d2a0c1ac512ee778de1a0ad8ca
BLAKE2b-256 0a7bf2cfa29a3e9138c10e0bb5120d9406eee8b8c274f9308dadad69c773aac2

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