adapters

package
v0.0.0-...-24f16ac Latest Latest
Warning

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

Go to latest
Published: May 1, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package adapters provides adapters for converting logging instances to the *slog.Logger type. This allows existing logging packages that are in use to be used with our logging package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Zap

func Zap(l *zap.Logger) *slog.Logger

Zap creates a new slog.Logger that writes to a Zap logger.

func ZeroLog

func ZeroLog(l zerolog.Logger) *slog.Logger

ZeroLog creates a new slog.Logger that writes to a Zerolog logger.

Types

This section is empty.

Jump to

Keyboard shortcuts

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