medialogutils

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CmdLogger

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

CmdLogger logs cmd outputs

func NewCmdLogger

func NewCmdLogger(handler func(string)) *CmdLogger

func (*CmdLogger) Write

func (l *CmdLogger) Write(p []byte) (int, error)

type OverrideLogger

type OverrideLogger struct {
	logger.Logger
}

OverrideLogger converts errors to warnings

func NewOverrideLogger

func NewOverrideLogger(l logger.Logger) *OverrideLogger

func (*OverrideLogger) Errorw

func (l *OverrideLogger) Errorw(msg string, err error, keysAndValues ...interface{})

Jump to

Keyboard shortcuts

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