stdout

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StdoutOutput

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

StdoutOutput writes log records to standard output

func New

func New(logger *zap.Logger) (*StdoutOutput, error)

New creates a new stdout output

func (*StdoutOutput) Stop

func (o *StdoutOutput) Stop(ctx context.Context) error

Stop performs cleanup

func (*StdoutOutput) Write

func (o *StdoutOutput) Write(ctx context.Context, data output.LogRecord) error

Write writes the log record to stdout

Jump to

Keyboard shortcuts

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