python-clog documentation¶
clog
is a package for handling log data. It can be used for the
following:
Python Logging Handler¶
clog.handlers.ScribeHandler
can be used to send standard python
logging
to a scribe stream.
Logging Operational and Mission Critical Data¶
clog.loggers.ScribeLogger.log_line()
can be used to log mission critical,
machine readable, and opertional data to scribe. There is also a global
clog.log_line()
which has the same purpose but requires global
configuration (see clog.config
). Use of the global is discouraged.
Reading Scribe Logs¶
clog.readers
provides classes for reading scribe logs locally or
from a server.