Skip to content

v1.11.0

Compare
Choose a tag to compare
@svc-autorelease svc-autorelease released this 24 Mar 16:15
· 269 commits to develop since this release
a82a6e1
Type Description Link
Feature Add support for emitting wrapped.1 logs.
Wrapped loggers expose the same interface to consumers as the logger of the underlying format.
This change includes a wrapped logging implementation for service.1 logs.
#119
Improvement Removes the time, level and message keys from the loggers returned by implementations of the LoggerProvider interface.
Previously, wlog.Logger instances returned by the LoggerProvider interface set "time" as a top-level key and wlog.LeveledLogger instances returned by the LoggerProvider interface set "time", "level" and "message" as top-level keys. After this change, these top-level keys are no longer set. This allows the underlying logger interfaces to be used by logger implementations that may not set these top-level keys in their output.
Log type implementations that use these loggers may no longer assume that these keys are set and must set them themselves if they are desired in the output. Existing implementations have all been updated to do so, so there should be no behavioral changes.
#123
Feature Add support to write JSON encoded log lines to a TCP socket

The JSON encoded log lines will be wrapped in an envelope that contains metadata about the source origin, including hostname, product, product version, etc. The TCP receiver is expected to use TLS authentication so valid security material should be used with the TCPConnProvider.
#125