logging

package
v0.0.0-...-f423d69 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2025 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HashEmail

func HashEmail(email string) string

Types

type Factory

type Factory interface {
	ForPackage(pkg string) *zap.Logger
	Sync() error
}

type LoggerFactory

type LoggerFactory struct {
	// contains filtered or unexported fields
}

func NewFactory

func NewFactory(logDir string, service string) (*LoggerFactory, error)

func NewFakeFactory

func NewFakeFactory() *LoggerFactory

func (*LoggerFactory) ForPackage

func (f *LoggerFactory) ForPackage(pkg string) *zap.Logger

func (*LoggerFactory) Sync

func (f *LoggerFactory) Sync() error

Jump to

Keyboard shortcuts

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