Provide several commonly used logger.
Project description
loggerFactory include some commonly used logger. You can create a super easy to use logger in minimal code.
Example:
import loggerFactory logger = loggerFactory.StreamOnlyLogger() logger.info("Some thing wrong!")
If you are using default log format %(asctime)s; %(levelname)-8s; %(message)s, I provide a logfilter can help you search log info.
Example:
from loggerFactory.logfilter import find result = find("log.txt", level="debug", message="ValueError", time_lower=None, time_upper=None, case_sensitive=False) result.dump("result.txt") print(result)
Quick links:
Install
loggerFactory is released on PyPI, so all you need is:
$ pip install loggerFactory
To upgrade to latest version:
$ pip install --upgrade loggerFactory
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
loggerFactory-0.0.1.zip
(17.7 kB
view hashes)