adobe / adobe/aio-lib-core-logging
Replace winston/debug logger with Pino
- Dominant language
- JavaScript
- Stars
- 3
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
### Pino
Pino is a lightweight logging library which is ideal for serverless logging.
It is a good candidate to replace **winston-logger** and **debug** providers
- Pino streams logs in [NDJSON](http://ndjson.org/) (Line delimited JSON) to standard output
- Pino core does not include transports, does not support in process transport
- Pino core does not include custom formating, only logs in JSON
- Pino API is similar/compatible with **winston**
### Additional features
- Child loggers
- Redact
- [Async logging](https://github.com/pinojs/pino/blob/master/docs/asynchronous.md)
### Pino plugins
- [Pino Pretty](https://github.com/pinojs/pino-pretty)
- [Pino Debug](https://github.com/pinojs/pino-debug)
### Aio Core Logger Features
- multiple logger types
- write to file
- custom formats
Contributor guide
Research direction
The issue does not name files or tests. Start by inspecting the current winston-logger and debug providers and comparing their behavior with the listed Aio Core Logger features; define the migration scope before changing anything. Done means the existing logger capabilities are preserved or intentionally replaced with Pino and the relevant logging behavior is verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, nodejs
- Domain
- backend
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100