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_windows.go

Version
v1.7.0-beta.0
Published
Oct 25, 2022
Platform
windows/amd64
Imports
9 packages
Last checked
1 minute ago

Tools for package owners.