logger

package
v0.0.0-...-32fb81b Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreatFileWithFolders

func CreatFileWithFolders(p string) (*os.File, error)

Types

type ZapLogger

type ZapLogger interface {
	Error(loggerName string, msg string, fields ...zap.Field)
	Info(loggerName string, msg string, fields ...zap.Field)
	Fatal(loggerName string, msg string, fields ...zap.Field)
}

func NewZapLogger

func NewZapLogger() ZapLogger

Jump to

Keyboard shortcuts

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