log

package
v0.19.765 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2026 License: AGPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cfg *internal.Config) (*zap.Logger, error)

func NewFXLog

func NewFXLog() (fxevent.Logger, error)

func NewLogStreamLogger

func NewLogStreamLogger(logStream *app.LogStream, lp *log.LoggerProvider, sysLog *zap.Logger, allAttrs ...map[string]string) (*zap.Logger, error)

func NewOTELProvider

func NewOTELProvider(logStream *app.LogStream) (*log.LoggerProvider, error)

func WorkflowLogger

func WorkflowLogger(ctx workflow.Context, attrs ...map[string]string) (*zap.Logger, error)

WorkflowLogger returns a (*zap.Logger) that logs to both the log stream (if it is set in the context) and the underlying temporal logger.

Types

This section is empty.

Jump to

Keyboard shortcuts

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