Process log file lines that have not been read.
Project description
Python logtail
Python implementation of the logtail tool for use in python projects to process log file lines that have not been read.
Usage
#!/usr/bin/env python3
from logtail import logtail
log = logtail("file.log")
for line in log.readline():
if line:
print(line.rstrip())
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pylogtail-0.9.1.tar.gz
(2.6 kB
view hashes)