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.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.2.0-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: filelogr-1.2.0.tar.gz
  • Upload date:
  • Size: 3.6 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.0.tar.gz
Algorithm Hash digest
SHA256 dad2d10be31311c06e576d5deb4d7ff7ef5bc0f0478d0a7bfeb3106c55940bb4
MD5 f5c6c3896ab2b78fd7753c42e91e4d3b
BLAKE2b-256 4a5be6892cb7c79bee56e04ec9eae9ed8a27791a74af38bfa365980331c23b39

See more details on using hashes here.

File details

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

File metadata

  • Download URL: filelogr-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 4.1 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7e7a811054fa17070fe0159a1ce80d19aa478c3ca768c9fb009df35296ffcbc1
MD5 799f8f90ec5a0f427aacf10ada8cc14e
BLAKE2b-256 ca4f907b65d1f79b4a506a02a52a92208f9ebc1d2c8e5bcf7f69d1c103f29f4e

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