Skip to content

Comments

docs: add Bunyan migration guide#2384

Open
taronsung wants to merge 1 commit intopinojs:mainfrom
taronsung:docs/bunyan-migration
Open

docs: add Bunyan migration guide#2384
taronsung wants to merge 1 commit intopinojs:mainfrom
taronsung:docs/bunyan-migration

Conversation

@taronsung
Copy link

Summary

Add a comprehensive migration guide for developers switching from Bunyan to Pino.

The guide covers:

  • Basic setup differences
  • Log levels mapping (identical between libraries)
  • Child loggers API comparison
  • Streams (bunyan) vs transports (pino)
  • Pretty printing approaches
  • Serializers configuration
  • Request logging with web frameworks
  • Output format differences

This helps developers who found Pino while looking for Bunyan alternatives to migrate their existing codebases smoothly.

Fixes #727

Add a comprehensive migration guide for developers switching from Bunyan to Pino, covering:
- Basic setup differences
- Log levels mapping
- Child loggers
- Streams vs transports
- Pretty printing
- Serializers
- Request logging
- Output format differences

Fixes pinojs#727
Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mcollina mcollina requested a review from jsumners January 30, 2026 22:46
Copy link
Member

@jsumners jsumners left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Pino" is not properly name cased throughout the doc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add docs page: Switching from bunyan

3 participants