logger

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Default

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

func NewDefault

func NewDefault(core *param.Core, executor core.Executor) *Default

func (*Default) Debug

func (d *Default) Debug(msg string, fields ...gox.Field[any])

func (*Default) Enable

func (d *Default) Enable(lvl core.Level)

func (*Default) Enabled

func (d *Default) Enabled(lvl core.Level) bool

func (*Default) Error

func (d *Default) Error(msg string, fields ...gox.Field[any])

func (*Default) Fatal

func (d *Default) Fatal(msg string, fields ...gox.Field[any])

func (*Default) Info

func (d *Default) Info(msg string, fields ...gox.Field[any])

func (*Default) Level

func (d *Default) Level() core.Level

func (*Default) Panic

func (d *Default) Panic(msg string, fields ...gox.Field[any])

func (*Default) Sync

func (d *Default) Sync() error

func (*Default) Warn

func (d *Default) Warn(msg string, fields ...gox.Field[any])

Jump to

Keyboard shortcuts

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