output

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2019 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogOutput

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

LogOutput output data in log

func NewLogOutput

func NewLogOutput() LogOutput

NewLogOutput new a object

func (*LogOutput) Error

func (l *LogOutput) Error(msg string, params ...interface{})

Error log

func (*LogOutput) Fatal

func (l *LogOutput) Fatal(msg string, params ...interface{})

Fatal log

func (*LogOutput) Info

func (l *LogOutput) Info(msg string, params ...interface{})

Info log

func (*LogOutput) Status

func (l *LogOutput) Status(status *cm.Status)

Status shows the status of node

func (*LogOutput) Warn

func (l *LogOutput) Warn(msg string, params ...interface{})

Warn log

Jump to

Keyboard shortcuts

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