Skip to main content

Simple and efficient customizable logger for Python

Project description

About EntryMaven

Python package aiming to offer a simple and efficient customizable logger using the native Logging library.

With this module, you can easily create records that automatically generate log files, allowing you to customize the names of these records files.

Getting Started - Library

Installation

pip install entrymaven

Usage

Simple example of how to use:

import entrymaven as emav

generic_logger = 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

EntryMaven-0.0.2.tar.gz (2.9 kB view details)

Uploaded Source

File details

Details for the file EntryMaven-0.0.2.tar.gz.

File metadata

  • Download URL: EntryMaven-0.0.2.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for EntryMaven-0.0.2.tar.gz
Algorithm Hash digest
SHA256 586ffacbd3e1ff0d28cecd599346f745b880650809718450d3e5e76e3825c8ec
MD5 59a0ee5aa820a3fb809eae56d95d3a1e
BLAKE2b-256 ca2fcfef9dd2bc780149c2220d5fdbb75ae7ab04588d8d3cd92652e8d638ae43

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page