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.1.0.tar.gz
(2.8 kB
view details)
File details
Details for the file yflog-1.1.0.tar.gz.
File metadata
- Download URL: yflog-1.1.0.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ec2a797f806af46c1174bd9664a6c3f103c12206790c9342f3d2110d72aa91de
|
|
| MD5 |
641fa2897eb093e376681a6a5a8a5e25
|
|
| BLAKE2b-256 |
bb2bf50e98ef55d0ae6f38f04b031dd5301a69a2409121d05726c18e5f469481
|