OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
logging.recent Namespace Reference

Bounded, read-only pages from the configured JSON log store. More...

Functions

dict read_recent (*, Path|None path=None, str cursor="", str level="INFO", str component="")
 Read recent history or the next bounded page, following retained rotations.

Detailed Description

Bounded, read-only pages from the configured JSON log store.

Function Documentation

◆ read_recent()

dict logging.recent.read_recent ( * ,
Path | None path = None,
str cursor = "",
str level = "INFO",
str component = "" )

Read recent history or the next bounded page, following retained rotations.

Cursors contain only file identity, byte position, and oversized-line state; clients cannot select a path. Missing/expired cursors reset to recent history.