Releases: loglayer/loglayer-go
transports/newrelic/v1.1.0
Minor Changes
- Align encoder with TypeScript transport format: emit
timestamp,level,log, andattributesinstead of the previous flatlogtype/loglevel/messageshape. Adds attribute validation at encode time (max 255 attributes, 255-char names, 4,094-char string values).
transports/newrelic/v1.0.0
Major Changes
- Initial release.
transports/betterstack/v1.0.0
Major Changes
- Initial release.
transports/axiom/v1.0.0
Major Changes
- Initial release.
v2.1.0
Minor Changes
-
Add
loglayer.Multiline(lines ...any)for authoring multi-line message
content that survives terminal-renderer sanitization. The wrapper is
honored only as a positional message argument; values placed inside
WithFields(...)orWithMetadata(...)are still sanitized to a single
line in terminal transports (JSON sinks serialize viaMarshalJSONto
the joined string).Also fixes a pre-existing bug in
transport.JoinPrefixAndMessages
where aWithPrefixvalue was silently dropped whenMessages[0]
was not a string (e.g.log.WithPrefix("X").Info(42)lost the
prefix). The prefix now folds in front of the%v-formatted first
message.
v2.0.1
Patch Changes
-
Republish every module to ship a clean
go.modto the Go module proxy.The v2.0.0 cascade and the subsequent
transports/cliv2.1.0 release shipped sub-modulego.modfiles containing dev-onlyreplace go.loglayer.dev/v2 => ../..directives and placeholder pseudo-version requires (v2.0.0-00010101000000-000000000000). Downstream consumers who depended on any sub-module sawgo mod tidy404 on the placeholder.monorel v0.9.0 (disaresta-org/monorel#42) added a release-time
go.modcleaner that strips the dev-only sibling replaces and pins sibling requires to the planned release version. This release republishes every affected module with the cleanedgo.mod.No API changes. Re-
go getto pick up the cleaned modules.
transports/zerolog/v2.0.1
Patch Changes
-
Republish every module to ship a clean
go.modto the Go module proxy.The v2.0.0 cascade and the subsequent
transports/cliv2.1.0 release shipped sub-modulego.modfiles containing dev-onlyreplace go.loglayer.dev/v2 => ../..directives and placeholder pseudo-version requires (v2.0.0-00010101000000-000000000000). Downstream consumers who depended on any sub-module sawgo mod tidy404 on the placeholder.monorel v0.9.0 (disaresta-org/monorel#42) added a release-time
go.modcleaner that strips the dev-only sibling replaces and pins sibling requires to the planned release version. This release republishes every affected module with the cleanedgo.mod.No API changes. Re-
go getto pick up the cleaned modules.
transports/zap/v2.0.1
Patch Changes
-
Republish every module to ship a clean
go.modto the Go module proxy.The v2.0.0 cascade and the subsequent
transports/cliv2.1.0 release shipped sub-modulego.modfiles containing dev-onlyreplace go.loglayer.dev/v2 => ../..directives and placeholder pseudo-version requires (v2.0.0-00010101000000-000000000000). Downstream consumers who depended on any sub-module sawgo mod tidy404 on the placeholder.monorel v0.9.0 (disaresta-org/monorel#42) added a release-time
go.modcleaner that strips the dev-only sibling replaces and pins sibling requires to the planned release version. This release republishes every affected module with the cleanedgo.mod.No API changes. Re-
go getto pick up the cleaned modules.
transports/testing/v2.0.1
Patch Changes
-
Republish every module to ship a clean
go.modto the Go module proxy.The v2.0.0 cascade and the subsequent
transports/cliv2.1.0 release shipped sub-modulego.modfiles containing dev-onlyreplace go.loglayer.dev/v2 => ../..directives and placeholder pseudo-version requires (v2.0.0-00010101000000-000000000000). Downstream consumers who depended on any sub-module sawgo mod tidy404 on the placeholder.monorel v0.9.0 (disaresta-org/monorel#42) added a release-time
go.modcleaner that strips the dev-only sibling replaces and pins sibling requires to the planned release version. This release republishes every affected module with the cleanedgo.mod.No API changes. Re-
go getto pick up the cleaned modules.
transports/structured/v2.0.1
Patch Changes
-
Republish every module to ship a clean
go.modto the Go module proxy.The v2.0.0 cascade and the subsequent
transports/cliv2.1.0 release shipped sub-modulego.modfiles containing dev-onlyreplace go.loglayer.dev/v2 => ../..directives and placeholder pseudo-version requires (v2.0.0-00010101000000-000000000000). Downstream consumers who depended on any sub-module sawgo mod tidy404 on the placeholder.monorel v0.9.0 (disaresta-org/monorel#42) added a release-time
go.modcleaner that strips the dev-only sibling replaces and pins sibling requires to the planned release version. This release republishes every affected module with the cleanedgo.mod.No API changes. Re-
go getto pick up the cleaned modules.