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 wherever 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

logger = logfast.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.4.0
Filename, size File type Python version Upload date Hashes
Filename, size logfast-0.4.0-py2-none-any.whl (3.3 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size logfast-0.4.0-py3-none-any.whl (3.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size logfast-0.4.0.tar.gz (2.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page