Functionsยง
- log_
memory_ ๐stats - refresh_
log_ ๐pointer - Update the host log pointer file when the UTC date changes (midnight rollover). tracing_appender::rolling::daily creates a new file at UTC midnight, so the pointer must track the new date suffix.
- start
- Spawn a background thread that logs memory stats at a fixed interval. Also refreshes the log pointer file on UTC date rollover. Runs for the lifetime of the process โ no shutdown signal needed.