zlog_access

package
v0.0.0-...-7f41b1e Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: Apache-2.0, MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func A

func A() *zap.SugaredLogger

A

for access zap Sugar

func AppendApiPrefix

func AppendApiPrefix(listPrefix ...string)

AppendApiPrefix

not dot append too much item

func AppendSkipPath

func AppendSkipPath(listPath ...string)

func AppendSkipPrefix

func AppendSkipPrefix(listPrefix ...string)

AppendSkipPrefix

not dot append too much item

func CheckPathIsSkip

func CheckPathIsSkip(target string) bool

func CheckPrefixIsApi

func CheckPrefixIsApi(target string) bool

func CheckPrefixIsSkip

func CheckPrefixIsSkip(target string) bool

func I

func I() *zap.SugaredLogger

I

for api zap Sugar

func InitByViper

func InitByViper() error

func MockInit

func MockInit()

MockInit

for unit test init

Types

This section is empty.

Jump to

Keyboard shortcuts

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