log

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTemporalSDKLogFromContext

func NewTemporalSDKLogFromContext(ctx context.Context) sdklog.Logger

NewTemporalSDKLogFromContext creates a new logger adapater for temporal.

func NewTemporalServerLogFromContext

func NewTemporalServerLogFromContext(ctx context.Context) temporallog.Logger

NewTemporalServerLogFromContext creates a new logger adapater for temporal.

Types

type Logger

type Logger interface {
	Debug(msg string, keyvals ...interface{})
	Info(msg string, keyvals ...interface{})
	Warn(msg string, keyvals ...interface{})
	Error(msg string, keyvals ...interface{})
}

Jump to

Keyboard shortcuts

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