common

package
v6.0.0-...-30ac4b8 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewErrorLogger

func NewErrorLogger(verbosity string, useStructuredLogging bool, writeSyncer zapcore.WriteSyncer) *zap.Logger

func NewOutputLogger

func NewOutputLogger(writeSyncer zapcore.WriteSyncer) *zap.Logger

func NewTestErrorLogger

func NewTestErrorLogger(verbosity string, useStructuredLogging bool) (*zap.Logger, *bytes.Buffer)

func NewTestOutputLogger

func NewTestOutputLogger() (*zap.Logger, *bytes.Buffer)

Types

type RootOptions

type RootOptions struct {
	Verbosity            string
	ErrorLogger          *zap.Logger
	OutputLogger         *zap.Logger
	UseStructuredLogging bool
}

Jump to

Keyboard shortcuts

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