logger

package
v0.0.0-beta Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleLog

func HandleLog(args ...string) interface{}

Types

type NewLogger

type NewLogger struct {
	Level string
	*zap.SugaredLogger
	// contains filtered or unexported fields
}

func New

func New(opts ...Options) *NewLogger

func (*NewLogger) SetLevel

func (l *NewLogger) SetLevel(level string)

type Options

type Options struct {
	FileName   string
	Level      string
	ModuleName string
}

Jump to

Keyboard shortcuts

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