UNPKG

@logtape/file

Version:

File sink and rotating file sink for LogTape

44 lines (31 loc) 1.18 kB
<!-- deno-fmt-ignore-file --> File sinks for LogTape ====================== [![JSR][JSR badge]][JSR] [![npm][npm badge]][npm] This package provides file sinks for [LogTape]. You can use the file sinks to write log records to files. For details, read the docs: - [File sink] - [Rotating file sink] [JSR]: https://jsr.io/@logtape/file [JSR badge]: https://jsr.io/badges/@logtape/file [npm]: https://www.npmjs.com/package/@logtape/file [npm badge]: https://img.shields.io/npm/v/@logtape/file?logo=npm [LogTape]: https://logtape.org/ [File sink]: https://logtape.org/manual/sinks#file-sink [Rotating file sink]: https://logtape.org/manual/sinks#rotating-file-sink Installation ------------ This package is available on [JSR] and [npm]. You can install it for various JavaScript runtimes and package managers: ~~~~ sh deno add jsr:@logtape/file # for Deno npm add @logtape/file # for npm pnpm add @logtape/file # for pnpm yarn add @logtape/file # for Yarn bun add @logtape/file # for Bun ~~~~ Docs ---- The docs of this package is available at <https://logtape.org/manual/sinks>. For the API references, see <https://jsr.io/@logtape/file>.