package logging

import "github.com/containerd/containerd/runtime/v2/logging"

Index

Functions

func Run

func Run(fn LoggerFunc)

Run the logging driver

Types

type Config

type Config struct {
	ID        string
	Namespace string
	Stdout    io.Reader
	Stderr    io.Reader
}

Config of the container logs

type LoggerFunc

type LoggerFunc func(context.Context, *Config, func() error) error

LoggerFunc is implemented by custom v2 logging binaries

Source Files

logging.go logging_unix.go

Version
v1.5.17
Published
Jan 28, 2023
Platform
js/wasm
Imports
6 packages
Last checked
2 minutes ago

Tools for package owners.