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.3.tar.gz (2.9 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for EntryMaven-0.0.3.tar.gz
Algorithm Hash digest
SHA256 a589c7120128aa5513aa3ae851a1165d0f98c5c8bb741695722a1d071264bd21
MD5 82bac0bdbabe3648b099602e9e953ddf
BLAKE2b-256 a8728b969a2c97ef2f8c13f5351e9b6ebbd890cb56001df67c7fdf90eb76df1d

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