streamlogs

package
v0.0.0-...-dbadf91 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package streamlogs package is responsible for stream-logs on the serverless environment.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Is

func Is(line string) bool

Is returns true if the line is a stream-logs line.

func Run

func Run(ctx context.Context, mrg messageReceiverGetter, w io.Writer)

Run stream logs to io.Writer.

Types

type Formatter

type Formatter struct{}

Formatter formats the stream-logs.

func (Formatter) Format

func (Formatter) Format(m *message.Message, _ string, redactedMsg []byte) string

Format formats the stream-logs.

Jump to

Keyboard shortcuts

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