feat(DIS-101): introduce pino structured logger, remove console.* #45
No reviewers
Labels
No labels
blocked
needs-review
phase:0
phase:1
phase:1.5
phase:2
phase:3
phase:4
phase:5
phase:6+
priority:p0
priority:p1
priority:p2
security
type:chore
type:ci
type:docs
type:feat
type:fix
type:idea
type:known-issue
type:refactor
type:test
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: dev/disclaw#45
Loading…
Reference in a new issue
No description provided.
Delete branch "phase-1/pino-logger"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
pino(dependency) andpino-pretty(devDependency) to package.jsonsrc/runtime/logger.tswithrootLoggerandchildLogger(component)factoryconsole.*calls acrosssrc/with structured pino child-loggerspino-prettytransport active only whenNODE_ENV !== productiontests/unit/workspace-root-resolve.test.tsto spy on pino logger instead ofconsole.warntests/unit/logger.test.tsverifyingchildLogger("runner")setscomponent: "runner"in bindingsTest plan
npm run buildcompiles without TypeScript errorsnpm test� all 39 tests pass (8 test files)console.*remaining insrc/pino-prettynot used in production build