Documentation ¶ Index ¶ func Setup(level, format string, extra ...slog.Handler) *slog.Logger Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Setup ¶ func Setup(level, format string, extra ...slog.Handler) *slog.Logger Setup creates a structured slog.Logger and installs it as the global default. Any additional slog.Handlers (e.g. an OTEL log bridge) can be appended via the extra variadic parameter. Log records are sent to all handlers. Types ¶ This section is empty. Source Files ¶ View all Source files logging.go Click to show internal directories. Click to hide internal directories.