gormzerolog

package
v0.0.0-...-b00ce6d Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(config *logger.Config, logger *zerolog.Logger) logger.Interface

New returns a logger that will use zerolog to log messages. Both `config` and `logger` are optional. If `logger` is `nil`, it will be retrieved from context.Context. Config options that are configured in zerolog are not supported (currently that's `Colorful` and `LogLevel`).

Types

This section is empty.

Jump to

Keyboard shortcuts

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