temporalzap

package
v0.19.821 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2026 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetActivityLogger

func GetActivityLogger(ctx context.Context) *zap.Logger

func GetWorkflowLogger

func GetWorkflowLogger(ctx workflow.Context) *zap.Logger

func NewCore

func NewCore(lg log.Logger) zapcore.Core

Types

type Logger

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

func NewLogger

func NewLogger(zapLogger *zap.Logger) *Logger

func (*Logger) Debug

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

func (*Logger) Error

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

func (*Logger) Info

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

func (*Logger) Warn

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

func (*Logger) With

func (log *Logger) With(keyvals ...interface{}) *Logger

func (*Logger) ZapLogger

func (log *Logger) ZapLogger() *zap.Logger

Jump to

Keyboard shortcuts

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