log

package
v0.0.0-...-cfef285 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2023 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

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

Logger is an adapter that allows usage of zerolog with Temporal Client

func New

func New(logger zerolog.Logger) *Logger

New returns new workflow Logger

func (*Logger) Debug

func (l *Logger) Debug(msg string, keyvals ...interface{})

Debug implements Temporal log.Logger interface

func (*Logger) Error

func (l *Logger) Error(msg string, keyvals ...interface{})

Error implements Temporal log.Logger interface

func (*Logger) Info

func (l *Logger) Info(msg string, keyvals ...interface{})

Info implements Temporal log.Logger interface

func (*Logger) Warn

func (l *Logger) Warn(msg string, keyvals ...interface{})

Warn implements Temporal log.Logger interface

Jump to

Keyboard shortcuts

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