encoder

package
v1.1.16 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SkipCallers = []string{
		"*github.com/wfusion/gofusion*/log/candy.go",
		"*github.com/wfusion/gofusion*/log/logger.go",
		"*github.com/wfusion/gofusion*/log/customlogger/*.go",
		"*github.com/wfusion/gofusion*/db/tx.go",
		"*github.com/wfusion/gofusion*/db/dal.go",
		"*github.com/wfusion/gofusion*/db/candy.go",
		"*github.com/wfusion/gofusion*/db/plugins/*.go",
		"*github.com/wfusion/gofusion*/db/callbacks/*.go",
		"*github.com/wfusion/gofusion*/db/softdelete/*.go",
		"*github.com/wfusion/gofusion*/cron/log.go",
		"*github.com/wfusion/gofusion*/async/log.go",
		"*github.com/wfusion/gofusion*/mq/log.go",
		"*github.com/wfusion/gofusion*/mq/mq.go",
		"*github.com/wfusion/gofusion*/routine/*.go",
		"*github.com/wfusion/gofusion*/common/infra/asynq/*.go",
		"*github.com/wfusion/gofusion*/common/infra/watermill/log.go",
	}
)

Functions

func SkipCallerEncoder

func SkipCallerEncoder(skipSuffixed []string, shorter bool) func(
	caller zapcore.EntryCaller, enc zapcore.PrimitiveArrayEncoder)

SkipCallerEncoder skip custom stack when encoding stack

Types

This section is empty.

Jump to

Keyboard shortcuts

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