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.6
Published
Sep 29, 2021
Platform
js/wasm
Imports
6 packages
Last checked
1 hour ago

Tools for package owners.