infrastructure

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2022 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ZerologLogger

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

ZerologLogger implements applogger.Logger interface and provide logging service using zerolog.

func NewZerologLogger

func NewZerologLogger(output io.Writer) *ZerologLogger

func NewZerologLoggerWithColor

func NewZerologLoggerWithColor(output io.Writer) *ZerologLogger

func (*ZerologLogger) Debug

func (logger *ZerologLogger) Debug(message string)

func (*ZerologLogger) Debugf

func (logger *ZerologLogger) Debugf(format string, values ...interface{})

func (*ZerologLogger) Error

func (logger *ZerologLogger) Error(message string)

func (*ZerologLogger) Errorf

func (logger *ZerologLogger) Errorf(format string, values ...interface{})

func (*ZerologLogger) GetLogLevel

func (logger *ZerologLogger) GetLogLevel() applogger.LogLevel

func (*ZerologLogger) Info

func (logger *ZerologLogger) Info(message string)

func (*ZerologLogger) Infof

func (logger *ZerologLogger) Infof(format string, values ...interface{})

func (*ZerologLogger) Panic

func (logger *ZerologLogger) Panic(message string)

func (*ZerologLogger) Panicf

func (logger *ZerologLogger) Panicf(format string, values ...interface{})

func (*ZerologLogger) SetLogLevel

func (logger *ZerologLogger) SetLogLevel(level applogger.LogLevel)

func (*ZerologLogger) WithFields

func (logger *ZerologLogger) WithFields(fields applogger.LogFields) applogger.Logger

func (*ZerologLogger) WithInterface

func (logger *ZerologLogger) WithInterface(key string, value interface{}) applogger.Logger

Jump to

Keyboard shortcuts

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