Skip to main content

A lightweight logging utility for Python applications

Project description

Filelogr

license PyPI - Version PyPI - Downloads Static Badge Static Badge

File logging without the headache.


📂 What’s Filelogr?

Filelogr is a lightweight zero dependency Python logging utility. Configure it once and forget it. It handles writing timestamped messages to a file, printing to console with colors and most importantly it's easy to use!


📃 Features

  • Easy setup

  • Zero dependencies

  • Timestamped file logging

  • Color coded console output

  • @Logger.track and @Logger.catch decorators for easy tracking


Installation Installation

pip  install  filelogr

❓ Why use filelogr?

Why not? It's simple, easy to set up, and gives you more than you'd expect from a small logging utility


🔨Usage:

All it takes is a couple lines of code and Filelogr is ready

from filelogr import Logger

DATA_DIR = "path/to/data/directory"
LOG_FILE = "Example.log"


Logger.configure(data_dir=DATA_DIR, log_file=LOG_FILE)

Logger.log_action ("This is an info message.", tag="INFO", color="blue")

💬 Questions or ideas?

Open an issue or suggest a feature here: GitHub: Futuregus/filelogr/issues

Email at: futuregus11@gmail.com

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

filelogr-1.3.0.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

filelogr-1.3.0-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file filelogr-1.3.0.tar.gz.

File metadata

  • Download URL: filelogr-1.3.0.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for filelogr-1.3.0.tar.gz
Algorithm Hash digest
SHA256 41808fd64d0e5cd84fb06a3d0fbf824320f8e2ec9f9606448e6387365216f087
MD5 4fcf68ed7c313fe3ec33f35b3bffae18
BLAKE2b-256 a393b878d3ba920d3d36b169e873f4dd471a7c2b0df86335e2b74985679c6e7f

See more details on using hashes here.

File details

Details for the file filelogr-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: filelogr-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for filelogr-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 52a1d2ab7c959c8ea135816ac3addf928f49ae13077a9780ec659902c6fca2d3
MD5 0f62eae1ec086ead28e1cf3e5fee856d
BLAKE2b-256 60672534816e15563460e85170a3195962d4a2e4adc006f0e8986b62404b5ef4

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