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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for plain_logger-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3c17fff4c4d1d81bcc8d1aa41a89360360d7c126131f5c869be4d6eb090c505 |
|
MD5 | f5c0fc6c94e48c8030b522584d9cdbcd |
|
BLAKE2b-256 | ccceec9a56796215c8b406c3442edef223e323aef18fe42f30fc174806ff2346 |