logger

package
v0.46.3 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2022 License: Apache-2.0 Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OpaLogger

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

func NewOpaLogger

func NewOpaLogger(logger *zerolog.Logger) *OpaLogger

func (*OpaLogger) Debug

func (l *OpaLogger) Debug(fmt string, a ...interface{})

func (*OpaLogger) Error

func (l *OpaLogger) Error(fmt string, a ...interface{})

func (*OpaLogger) GetFields

func (l *OpaLogger) GetFields() map[string]interface{}

func (*OpaLogger) GetLevel

func (l *OpaLogger) GetLevel() logging.Level

func (*OpaLogger) Info

func (l *OpaLogger) Info(fmt string, a ...interface{})

func (*OpaLogger) SetLevel

func (l *OpaLogger) SetLevel(level logging.Level)

func (*OpaLogger) Warn

func (l *OpaLogger) Warn(fmt string, a ...interface{})

func (*OpaLogger) WithFields

func (l *OpaLogger) WithFields(fields map[string]interface{}) logging.Logger

Jump to

Keyboard shortcuts

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