Commits
Pino dropped support/testing for node 14,16, and 19
Simplify README by moving some examples to annotations and replace all interface blocks with links to typedoc pages
Useful for local development when using links from README
https://github.com/charmbracelet/freeze
Use pino-pretty@11.0.0 which includes merged PR for additional functionality from pinojs/pino-pretty#495 and replaces scoped package
Makes it easier to parse user logging options with a different, default, base dir for log files
Replace scoped package with official package with merged PR mcollina/pino-roll#60
Need to use full NPM packages to support library in use for flatpak and docker images without git. Can remove once PRs are merged.
It's already linked and contains the same/better info in typedoc page
Didn't realize Error Cause (https://github.com/tc39/proposal-error-cause) had been finalized and was included in es2022! Hooray for one less dependency
* Fix test logger options spread
* test file path
* test rolling file path/func
* test rolling file frequency/size/timestamp options
* Fix pino-pretty import so it can be used by both cjs/esm
* Output cjs package with tshy
Makes this library actually usable without requiring patch-package at project-level
TODO: replace with official packages once they are merged (hopefully)
* Add pino-roll options to file options
* Implement file datetime formatting based on frequency option
* Consolidate filePath into path on a new `file` option object
* Use typedoc plugin to include Pino types in typedocs
* Use media to include screenshot in typedocs
* Implement `filePath` in LogOptions
* Can be absolute, relative path, string function, or parsed from LOG_PATH
* Remove undocumented CONFIG_DIR env