zapKit

package
v3.0.37 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLogger

func NewLogger(writer io.Writer, level zapcore.Level) (*zap.Logger, error)

NewLogger

@param writer 可以是: ioKit.NewRotatableWriteCloser() @param level e.g. zap.InfoLevel

func ParseLevel

func ParseLevel(str string) (zapcore.Level, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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