Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A flexible logging utility for your Python projects

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages