crilog

package
v0.0.0-...-ba854f2 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Log

type Log struct {
	Stdout, Stderr io.WriteCloser
	// contains filtered or unexported fields
}

Log represents cri log driver.

NOTE: it might be changed caused by ReopenLog API.

func New

func New(path string, withTerminal bool) (*Log, error)

New returns WriteCloser for stream.

func (*Log) Close

func (l *Log) Close() error

Close closes CRI log.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳