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.2.1.tar.gz (3.9 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.2.1-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for filelogr-1.2.1.tar.gz
Algorithm Hash digest
SHA256 e61a00309b5069a346e0e20407338a4f37caac050a030436f31d5389c9ce34dc
MD5 2fffcef5ff47dec4595dbddd14c15079
BLAKE2b-256 925c00546e0d21632f5698595e983b45d6205074d45e1eb3a45071e25f6f1c9c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: filelogr-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 4.4 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.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 44b8232a2ff71e8d7562f6fbb0c1b11b6ecf2ab694049844ce32cbc9e766c7f6
MD5 45d41a7e9a87a55d7f0c27ab7c89fee6
BLAKE2b-256 688be904d777e6eb2ccff966e065b1026e72a138d29eeec5e2e560a89a669885

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