{"repo":"mahmoud/lithoxyl","free":true,"listed":false,"github":"https://github.com/mahmoud/lithoxyl","clone":"git clone https://github.com/mahmoud/lithoxyl.git","description":"Application instrumentation and logging, with a geological bent.","language":"Python","stars":146,"topics":["composability","logging","instrumentation","performance","pythonic","python"],"license":"BSD-3-Clause","category":"analytics","readme_excerpt":"lithoxyl Application instrumentation and logging, with a geological bent. Documentation is available on Read the Docs. An infomercial of sorts \"Has this ever happened to you?\" Here's an example of some ostensibly well-instrumented code. Notice how the logging statements tend to dominate the code, almost drowning out the meaning of the code. Here's lithoxyl's take: Feature brief Transactional logging Semantic instrumentation Pure Python Pythonic context manager API minimizes developer errors Decorator syntax is convenient and unobtrusive Human-readable structured logs Reparseability thanks to autoescaping Statistical accumulators for prerolled metrics Programmatic configuration with sensible defaults just an import away Synchronous mode for simplicity Asynchronous operation for performance critical applications Log file headers for metadata handling Heartbeat for periodic output and checkpointing Automatic, fast log parser generation (TBI) Sinks EWMASink DebuggerSink MomentSink QuantileSink StreamSink SyslogSink and more Reasons to use Lithoxyl More specific: distinguishes between level and status Safer: Transactional logging ensures that exceptions are always recorded appropriately Lower overhead: Lithoxyl can be used more places in code (e.g., tight loops), as well as more environments, without concern of excess overhead. More Pythonic: Python's logging module is a port of log4j, and it shows. No global state: Lithoxyl has virtually no internal global state, meaning fewer go","default_branch":null,"files":null,"tree":[],"storefront":"/r/mahmoud","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mahmoud/lithoxyl/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}