https://github.com/tripolskypetr/pinolog
The preset of pino with rotating-file-stream
https://github.com/tripolskypetr/pinolog
fast gzip-compression json logger nodejs pino rotating-files
Last synced: 7 months ago
JSON representation
The preset of pino with rotating-file-stream
- Host: GitHub
- URL: https://github.com/tripolskypetr/pinolog
- Owner: tripolskypetr
- License: mit
- Created: 2024-11-08T07:02:08.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2025-03-01T10:47:41.000Z (8 months ago)
- Last Synced: 2025-03-01T11:29:15.069Z (8 months ago)
- Topics: fast, gzip-compression, json, logger, nodejs, pino, rotating-files
- Language: JavaScript
- Homepage: https://github.com/react-declarative/react-declarative
- Size: 7.81 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pinolog
> The preset of [pino](https://www.npmjs.com/package/pino) with [rotating-file-stream](https://www.npmjs.com/package/rotating-file-stream)
## Usage
The next code will create `logs` folder with `debug.log` file. When the file reach the `100Mb` limit, it will be compressed to `20241003-1132-01-debug.log.gz`.
```tsx
import { logger } from 'pinolog';logger.log("Hello world")
```