Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Provide several commonly used logger.

Project Description

Welcome to loggerFactory Documentation

loggerFactory include some commonly used logger. You can create a super easy to use logger in minimal code.


import loggerFactory

# log to console
logger = loggerFactory.StreamOnlyLogger(name="stream_only")
logger.warning("Some thing wrong!")

# log to file
# if name is not specified, a random name will be assigned
logger = loggerFactory.SingleFileLogger(path="log.txt")
logger.error("Fatal Error!")

# file rotating
logger = loggerFactory.FileRotatingLogger(path="log.txt")

# time rotating
logger = loggerFactory.TimeRotatingLogger(path="log.txt")

If you are using default log format %(asctime)s; %(levelname)-8s; %(message)s, a logfilter can help you search log info.


from loggerFactory import find

result = find("log.txt",
    level="debug", message="ValueError",
    time_lower=None, time_upper=None,


loggerFactory is released on PyPI, so all you need is:

$ pip install loggerFactory

To upgrade to latest version:

$ pip install --upgrade loggerFactory
Release History

Release History

This version
History Node


History Node


History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
loggerFactory-0.0.4-py2-none-any.whl (13.6 kB) Copy SHA256 Checksum SHA256 py2 Wheel Oct 11, 2017
loggerFactory-0.0.4.tar.gz (11.6 kB) Copy SHA256 Checksum SHA256 Source Oct 11, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting