Skip to content

Latest commit

 

History

History
34 lines (20 loc) · 643 Bytes

README.md

File metadata and controls

34 lines (20 loc) · 643 Bytes

logmia

Build Status

What

Combining less common logging features into a single library.

Features

  • Collapsing log lines
  • Sticky log lines
  • Opinionated defaults
  • Handlers configured to do the right thing
  • CLI vs. logfile awareness

Demo

$ python -m logmia

Examples

import logmia

logger = logmia.get_logger()

logger.debug('Attempting to connect to example.com')
logger.info('Connected to example.com')  # replaces previous debug line and is sticky

Developing

Run tests

$ make test