A simple logger used in python program.
Project description
YFLOG: A Simple Wrapped Logger Used in Python
A Simple Wrapped Logger Used in Python
Installation
# Install via pip
pip install yflog
Usage
Here is a simple example for the logger.
from yflog import Logger
# replace the 'X' with your token
logger = Logger(filename='my.log',file_level='info')
logger.debug('test')
logger.info('test')
logger.warning('test')
logger.error('test')
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
yflog-1.0.0.tar.gz
(2.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
yflog-1.0.0-py3-none-any.whl
(3.0 kB
view details)
File details
Details for the file yflog-1.0.0.tar.gz.
File metadata
- Download URL: yflog-1.0.0.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9f97f68fa25761d6257fb48ad85817b415b62c5fd54f9ef038932f9a4df50901
|
|
| MD5 |
b90c714323e5a34245b342667223f209
|
|
| BLAKE2b-256 |
cdafcd6853e664abd846e2837cfd86f15fc1ea8231e6f0af4f603f8184878c6d
|
File details
Details for the file yflog-1.0.0-py3-none-any.whl.
File metadata
- Download URL: yflog-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8f9b2483b83cf744e7aeda7339273bb1a2ddcadacd38aec857be606415ebf0fa
|
|
| MD5 |
a23d87691593187a7a3d1b140c4a35ce
|
|
| BLAKE2b-256 |
6abfde24cb429f7ffd246cea38982eb2c76174d7492dfdf1fa5fbd12507eec6f
|