logging

package
v0.0.0-...-6be47e1 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

RAPID emits or proxies the following sources of logging:

  1. Internal logs: RAPID's own application logs into stderr for operational use, visible only internally
  2. Function stream-based logs: Runtime's stdout and stderr, read as newline separated lines
  3. Function message-based logs: Stock runtimes communicate using a custom TLV protocol over a Unix pipe
  4. Extension stream-based logs: Extension's stdout and stderr, read as newline separated lines
  5. Platform logs: Logs that RAPID generates, but is visible either in customer's logs or via Logs API (e.g. EXTENSION, RUNTIME, RUNTIMEDONE, IMAGE)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetOutput

func SetOutput(w io.Writer)

SetOutput configures logging output for standard loggers.

Types

type InternalFormatter

type InternalFormatter struct{}

func (*InternalFormatter) Format

func (f *InternalFormatter) Format(entry *logrus.Entry) ([]byte, error)

format RAPID's internal log like the rest of the sandbox log

Jump to

Keyboard shortcuts

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