Reading logs¶
Read dictionaries in series from a log file.
- mpacklog.read_log.read_log(path, chunk_size=100000)¶
Read dictionaries in series from a log file.
- Parameters:
path (
str
) – Path to the log file to read.chunk_size (
int
) – Optional, number of bytes to read per internal loop cycle.
- Return type:
Generator
[dict
,None
,None
]- Returns:
Generator to each dictionary from the log file, in sequence.