logzerolog

package module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package logzerolog adapts a zerolog.Logger to the gotd log.Logger port.

It lives in its own module so that github.com/rs/zerolog never enters the core github.com/gotd/log dependency graph.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(l zerolog.Logger) log.Logger

New returns a log.Logger that writes to l.

zerolog.Logger is a value type, so pass it by value (e.g. zerolog.New(w) or log.Logger from the zerolog package).

Types

This section is empty.

Jump to

Keyboard shortcuts

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