@twin.org/logging-connector-file
v0.9.2
Published
Writes log events to size-limited files on disk with rotation and retention for local log persistence.
Maintainers
Readme
TWIN Logging Connector File
File connector for persisting TWIN log events to size-limited files on disk with rotation and retention.
Entries are written as newline delimited JSON through a persistent file handle. The connector assumes a single writer per file: one owner (process) should be responsible for a given log file, as it does not coordinate rotation across separate processes.
Installation
npm install @twin.org/logging-connector-fileExamples
Usage of the APIs is shown in the examples docs/examples.md
Reference
Detailed reference documentation for the API can be found in docs/reference/index.md
Changelog
The changes between each version can be found in docs/changelog.md
