diff --git a/fern/products/sdks/overview/go/changelog/2026-03-11.mdx b/fern/products/sdks/overview/go/changelog/2026-03-11.mdx index 8cd8dfc24..c53541059 100644 --- a/fern/products/sdks/overview/go/changelog/2026-03-11.mdx +++ b/fern/products/sdks/overview/go/changelog/2026-03-11.mdx @@ -1,31 +1,3 @@ -## 1.30.0 -**`(feat):`** Add support for configurable logging to the generated SDK. -Users can configure logging by passing a `LogConfig` to the client builder's `.WithLogging()` method. - -Example: -```go -import ( - "sdk/core" - "sdk/option" -) - -client := sdk.NewClient( - option.WithLogging(core.NewLogConfigBuilder(). - Level(core.LogLevelDebug). - Silent(false). - Build()), -) -``` - -The logging configuration supports: -- `Level` — Set the minimum log level (DEBUG, INFO, WARN, ERROR) -- `Logger` — Provide a custom logger implementation (defaults to ConsoleLogger) -- `Silent` — Enable/disable logging (default: true/silent) - -HTTP requests and responses are logged with headers (sensitive headers like -Authorization are redacted). Error responses (4xx/5xx) are logged at error level. - - ## 1.29.3 **`(chore):`** Add concurrency configuration to generated CI workflow with cancel-in-progress: false to prevent stacked runs from being cancelled when a newer run starts.