logs

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Log

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

Log is a implementation that supports tagging.

func New

func New(v string) Log

New returns a log with the given description that can be tagged.

func Newf

func Newf(format string, v ...interface{}) Log

Newf returns a log with the given formatted description that can be tagged.

func (Log) String

func (l Log) String() string

func (Log) Tag

func (l Log) Tag(k string, v interface{}) Log

Tag sets the named tag with the given value.

Jump to

Keyboard shortcuts

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