logging

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2022 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLogger

func NewLogger(cfg LoggerConfig) zerolog.Logger

Types

type HookDef added in v0.0.7

type HookDef func(Signature) Signature

This is duplicated from the network package, because import cycles are not allowed.

type LoggerConfig added in v0.0.5

type LoggerConfig struct {
	Output     io.Writer
	TimeFormat string
	Level      zerolog.Level
	NoColor    bool
	// contains filtered or unexported fields
}

type OnNewLogger added in v0.0.6

type OnNewLogger HookDef

This is duplicated from the network package, because import cycles are not allowed.

type Signature added in v0.0.7

type Signature map[string]interface{}

This is duplicated from the network package, because import cycles are not allowed.

Jump to

Keyboard shortcuts

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