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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for package_logger-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e2f6eaa854364ee169efde1b9a86d62aa204a27f704c82db98aee88501bbe9f |
|
MD5 | 2fed81d2a0c1ac512ee778de1a0ad8ca |
|
BLAKE2b-256 | 0a7bf2cfa29a3e9138c10e0bb5120d9406eee8b8c274f9308dadad69c773aac2 |