Releases: sainsburys-tech/next-logger
Releases · sainsburys-tech/next-logger
v2.0.1
Fix audit issues within dev dependencies
Patch global console methods
This adds patches for the global console
logging methods. This allows this library to intercept logs made by Next.js, where they are made directly to the console
object.
While pino
logging remains intact, this may cause issues with other libraries which patch or use console
methods. Use the next-only
preset to opt-out of this patching.
Support presets for opt-out patches
This adds support for "presets", allowing consumers to opt-in or out of the patches they want to use.
Refactor Next.js patches into their own file
This refactors the Next.js logger patches into their own file, to be imported in the `index` file. This a precursor to presets.
Refactor logging for early binding of prefix
v1.1.1 Refactor logger and early bind to Pino base
Support logging objects
v1.1.0 Remove PID exactness checks from unit tests
Fix npm audit issues
This fixes npm audit
issues with the package. There were 5 moderate issues reported, all of which were transitive dependencies of next
itself. These were all resolved with npm audit fix
.
v1.0.0
Rename to next-logger