log

package
v0.15.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSQLConfigFromDatastoreSpec added in v0.15.2

func NewSQLConfigFromDatastoreSpec(spec *v1beta1.LogSpec) log.Config

NewLogConfigFromLogSpec creates a new instance of a temporal log config from the provided LogSpec.

func NewTemporalSDKLogFromContext

func NewTemporalSDKLogFromContext(ctx context.Context) sdklog.Logger

NewTemporalSDKLogFromContext 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