writer

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package writer provides an io.Writer for capturing process output as logs, so that stdout may become INFO, and stderr ERROR.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Writer

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

Writer struct.

func New

func New(l log.Level, ctx log.Interface) *Writer

New writer with the given log level.

func (*Writer) Write

func (w *Writer) Write(b []byte) (int, error)

Write implementation.

Jump to

Keyboard shortcuts

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