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.6.1
Published
Mar 2, 2022
Platform
linux/amd64
Imports
6 packages
Last checked
5 minutes ago

Tools for package owners.