Skip to main content

Quick and easy logging initialization

Project description



Just a simple python package which does logging initialization in a certain way.

17|12|19|00:18:58|+0100  14474:MainThread  INFO       |  |   This is an example
17|12|19|00:18:58|+0100  14474:MainThread  WARNING    |  |   Another one

As one can see it provides the filename where the log has been created, the Process ID , the Thread Name, and the full time (including). This is a package I created for my own benefit, as i found myself tired of always doing the same logging initalization.

Now i can just pip install logfast whereever i am.

Most likely you will want to a have different logging format than me(so this package might be of no use to you). But if you want the same format feel free to use it.


pip install logfast

Usage Guide

Make sure this is the first module you import in your application. This makes sure no other call is made first to logging. Otherwise other modules/libraries might overwrite the logging settings. This allows you to have multiple application entrypoints but have the same logging configuration.

import logfast
import logging

logger = logging.getLogger()"This is an example")
logger.warning("Another one")

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for logfast, version 0.2.4
Filename, size File type Python version Upload date Hashes
Filename, size logfast-0.2.4-py2-none-any.whl (3.2 kB) File type Wheel Python version py2 Upload date Hashes View hashes
Filename, size logfast-0.2.4-py3-none-any.whl (3.2 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size logfast-0.2.4.tar.gz (2.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page