An easy to use helper pip package to help you log details at any point in code.
Project description
plain_logger - Make logging simple and easy
An easy to use helper pip package to help you log details at any point in code.
Assumptions
- Assuming python is installed on your system.
Installation
Install plain_logger
on your system using :
pip install plain_logger
Usage
LogInfo
Logs data with 'INFO' tag.
Example:
from simple_logger import LogInfo
def foo():
fname = "John"
lname = "Doe"
LogInfo ("Name = {} {}".format(fname, lname))
Output:
[2019-01-25 19:30:02] INFO: Name = John Doe
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
plain_logger-0.1.1.tar.gz
(2.0 kB
view hashes)
Built Distribution
Close
Hashes for plain_logger-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 799464314547d2660e27d99f5f3241f1cba7de3a899f2618cdf091e07589d4bd |
|
MD5 | decae2cef6d8d41e33bd032a272ea453 |
|
BLAKE2b-256 | b0e3b08164b92be4e02cefb222c4026445da20210169720af5c5f103b057de00 |