logger

package
v0.0.0-...-0a97e14 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Message

type Message struct {
	Level string
	Msg   string
}

func NewErrMsg

func NewErrMsg(e error) *Message

func NewMsgGroup

func NewMsgGroup(args ...string) ([]*Message, error)

NewMsgGroup will log info msg to term. Args[0] is level and others are many msgs

func (Message) ShowInCmd

func (m Message) ShowInCmd()

Jump to

Keyboard shortcuts

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