logger

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder interface {
	SetDomainLevel(domain string, level zapcore.Level)
	Domain(domain Domain) *zap.Logger
}

func NewBuilder

func NewBuilder(out zapcore.WriteSyncer) Builder

func NewTestBuilder

func NewTestBuilder() Builder

type Domain

type Domain uint8
const (
	UnknownDomain Domain = iota
	AllDomain
	InitDomain
	CLIDomain
	FileSystemDomain
	GCSDomain
	GitHubDomain
	HTTPSDomain
	S3Domain
)

Jump to

Keyboard shortcuts

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