stdout

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package stdout prints log lines into the standard output. It also colorised outputs with ANSI Escape Codes

Index

Constants

View Source
const Name = "stdout"

Variables

This section is empty.

Functions

func New

func New(c config.Tree) (log.Printer, error)

Types

type Logger

type Logger struct{}

func (*Logger) Close

func (l *Logger) Close() error

func (*Logger) Print

func (l *Logger) Print(ctx *log.Context, s string) error

Jump to

Keyboard shortcuts

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