log

package
v0.0.0-...-8f1e690 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cfg *Config) zerolog.Logger

Types

type Caller

type Caller struct {
	// contains filtered or unexported fields
}

func (Caller) Run

func (c Caller) Run(e *zerolog.Event, level zerolog.Level, msg string)

type CheckedFormat

type CheckedFormat struct {
	// contains filtered or unexported fields
}

func (*CheckedFormat) Set

func (f *CheckedFormat) Set(s string) error

func (*CheckedFormat) String

func (f *CheckedFormat) String() string

type CheckedLevel

type CheckedLevel struct {
	// contains filtered or unexported fields
}

func (*CheckedLevel) Set

func (l *CheckedLevel) Set(s string) error

func (*CheckedLevel) String

func (l *CheckedLevel) String() string

type Config

type Config struct {
	Format *CheckedFormat
	Level  *CheckedLevel
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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