logger

package
v0.0.0-...-97b2bf6 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package logger provides a slog.Handler that writes log records to a golog.Logger.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLogHandler

func NewLogHandler(logger golog.Logger, prefix string) *slogHandler

NewLogHandler returns a new slog.Handler that writes log records to the given golog.Logger.

Types

This section is empty.

Jump to

Keyboard shortcuts

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