Skip to main content

slog

slog

import "github.com/gojek/courier-go/slog"

Package slog implements the log/slog package for courier-go. It can be used with Go version 1.21 and above.

Index

## func [New](https://github.com/gojek/courier-go/blob/main/slog/log.go#L12)
func New(h slog.Handler) courier.Logger

New returns a new courier.Logger that wraps the slog.Handler.

Generated by gomarkdoc