Help us shape the future of Go! Take the 2026 Go Developer Survey

logging

command
v0.99.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Example: attach the oekit/logx logging stack to the SDK.

The SDK's Logger is injected per provider. provider.NewLogxLogger wraps oekit/logx's Delegating logger, which resolves the global default lazily — so the consumer can install (or replace) the log backend AFTER the provider is built and every subsequent call logs through it.

Set PLATFORM_TOKEN to run. LOG_LEVEL=DEBUG additionally shows the transport layer's per-request debug events; the default INFO level only surfaces warnings and errors.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL