log

package
v1.3.22 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CarLogger

type CarLogger struct {
	*zap.Logger
}

func New

func New(level int8) *CarLogger

func (*CarLogger) PrintError

func (log *CarLogger) PrintError(err error)

func (*CarLogger) PrintInfo

func (log *CarLogger) PrintInfo(err error)

func (*CarLogger) PrintWarn

func (log *CarLogger) PrintWarn(err error)

func (*CarLogger) Write

func (log *CarLogger) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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