logging

package
v0.9.259 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2025 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const TIME_FORMAT = time.RFC3339 // Runc's default time format

Variables

This section is empty.

Functions

This section is empty.

Types

type Line

type Line struct {
	Msg   string `json:"msg"`
	Level string `json:"level"`
	Time  string `json:"time"`
}

type LogWriter

type LogWriter struct {
	// contains filtered or unexported fields
}

func Writer

func Writer(w io.Writer, format string) *LogWriter

func (*LogWriter) Write

func (lw *LogWriter) Write(p []byte) (int, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL