zapKit

package
v2.2.24 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2023 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 added in v2.1.40

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