logger

package
v0.0.0-...-6e1b659 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2026 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MaskMiddle

func MaskMiddle(input string, unmaskedPrefix, unmaskedSuffix int) string

MaskMiddle replaces the middle of the string with `*` characters.

func NewLogger

func NewLogger(env string, sentryEnabled bool) (*zap.Logger, error)

Types

type CustomCore

type CustomCore struct {
	zapcore.Core
}

func (*CustomCore) Check

func (c *CustomCore) Check(entry zapcore.Entry, checked *zapcore.CheckedEntry) *zapcore.CheckedEntry

func (*CustomCore) Write

func (c *CustomCore) Write(entry zapcore.Entry, fields []zapcore.Field) error

Jump to

Keyboard shortcuts

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