console

package
v0.14.1 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2022 License: MIT Imports: 5 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StderrAdapter

func StderrAdapter() logger.Adapter

StderrAdapter returns a logger.Adapter implementation which prints log messages to stderr.

func StdoutAdapter

func StdoutAdapter() logger.Adapter

StdoutAdapter returns a logger.Adapter implementation which prints log messages to stdout.

Types

type WriterPrinter

type WriterPrinter struct {
	Writer io.Writer
}

func (WriterPrinter) Println

func (p WriterPrinter) Println(args ...interface{})

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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