factory

package
v0.28.4 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewZeroLogAdapter

func NewZeroLogAdapter(opts Options) (logger *mrzerolog.LoggerAdapter, err error)

NewZeroLogAdapter - создаёт объект LoggerAdapter.

Types

type Options

type Options struct {
	Stdout           io.Writer
	Level            string
	JsonFormat       bool
	TimestampFormat  string
	ConsoleColor     bool
	PrepareErrorFunc func(err error) error
}

Options - опции для создания Logger.

Jump to

Keyboard shortcuts

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