Simple and efficient customizable logger for Python
Project description
EntryMaven
About
The EntryMaven Python package aims to offer a simple and efficient customizable logger using the native Logging library.
*Designed exclusively to study the development and upload of Libraries.
With this package, you can easily create records that automatically generate log files, allowing you to customize the names of these records files, which will be stored in the root of your project.
Author: Leonardo Cardillo
Getting Started - Library
Installation
pip install entrymaven
Usage
Simple example of how to use:
import entrymaven as emav
emav.Essentials.gen()
l = emav.l
l.info('First entry in this log file')
# Output: 2000-01-01 00:00:00,000 - INFO - First entry in this log file
Note: As default, the log file name is "entries.log" and the log level is DEBUG
An alternative, more concise approach that includes defining a custom log file name and log recording level:
from entrymaven import l, Essentials
Essentials.gen(filename= 'test.log', level= 'INFO')
l.info('First entry in this log file')
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
File details
Details for the file entrymaven-0.0.1.tar.gz.
File metadata
- Download URL: entrymaven-0.0.1.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dff57607172c6593e5619b24eb4aafdf9dfe3cd5d33a4efba76533ddaa5d1b51
|
|
| MD5 |
599df7a5dbaac425c6f947316ccac7a1
|
|
| BLAKE2b-256 |
9f61cbb1fed367c33873ea0973f819f49e4f77cf0a51bec024f5291b0301d816
|