What's new in LogLayer
Jan 27, 2025
- Added an integration doc for Next.js to show how to implement LogLayer with Next.js.
- Fixed the typings for
metadataOnly()
where the 2nd parameter should be optional.
Jan 24, 2025
- Added a new method
withFreshTransports()
to replace existing transports with new ones inloglayer
.
Jan 20, 2025
- Plugin callbacks now pass the
loglayer
instance as the last parameter. - Add the Axiom.co Transport.
Jan 18, 2025
Add new options to the ConsoleTransport
:
messageField
: Allows you to specify the field in the log message object where the message should be stored. This is useful when you want to log structured data and need to specify the field name for the message.level
: Sets the minimum log level to process. Messages with a lower priority level will be ignored.
Jan 17, 2025
- Added the Log File Rotation Transport to write logs to files and rotate them
- Performance improvements around using multiple transports with
loglayer
Jan 15, 2025
- Added the Filter Plugin for filtering log messages.