Skip to main content

A flexible logging utility for your Python projects

Project description

📂filelogr

Simple, reliable logging for your Python projects.


💡 What’s filelogr?

filelogr is a lightweight Python logging module that writes actions to a file and optionally prints them to the console. It auto-creates a logs folder if needed, and lets you customize where your logs are stored.

Perfect for tracking your app's activity without the hassle.


✨ Features

  • 🕒 Logs actions with timestamps
  • 🖥️ Optional real-time console output
  • 📁 Customizable log folder and filename
  • 🛠️ Auto-creates log directory and file
  • ⚡ Built with Python’s standard libraries only (zero dependencies)

📦 Installation

pip install filelogr

🚀 Quickstart

from filelogr import Logger

# Configure your log directory and filename
Logger.configure(data_dir="my_logs", log_file="app.log")

# Log without a tag
Logger.log_action("Started the app")

# Log with no tag and no timestamp (just a separator)
Logger.log_action("----- New Session -----", separator=True)

# Log with a tag
Logger.log_action("An important event", tag="INFO")

❓ Why use filelogr?

Because logging shouldn't feel like setting up a rocket launch. filelogr gives you just what you need: a simple and readable way to track what’s going on in your app.


📄 License

MIT License


💬 Questions or ideas?

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

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.0.0.tar.gz (3.6 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.0.0-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for filelogr-1.0.0.tar.gz
Algorithm Hash digest
SHA256 f0f58ac24c0aa424049879fb3d628057053b372bfb942a544090ad65eeb1b1d4
MD5 d4e0445acf46c4d833a61610410ccf99
BLAKE2b-256 b472787da760f1602f258d1d778a7c65c9354ab9170d7458be77980213626588

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for filelogr-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7a3a999b0cce332eee4a36d63c2e159d164bb7a170784a1180c754b243a35efe
MD5 96589e17efb6c7aa6201bce3f074013e
BLAKE2b-256 2008758243dc02bdf7dd8e5e25820e0d3a9ea1bdf7b8c10d56bd94bc53ded6c9

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