config

package
v0.0.0-...-4ca9e16 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	PachydermAddress string
	Namespace        string
}

func GenerateConfig

func GenerateConfig() *Config

type ZapLogger

type ZapLogger struct {
	*zap.SugaredLogger
}

func GetLogger

func GetLogger() (*zap.Logger, *ZapLogger)

mklogger initialises a structured logger; it returns the core zap object and a version wrapped to support the kooper Logger interface

func (ZapLogger) Warningf

func (s ZapLogger) Warningf(template string, args ...interface{})

func (ZapLogger) WithKV

func (s ZapLogger) WithKV(kv log.KV) log.Logger

Jump to

Keyboard shortcuts

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