log

package
v0.0.0-...-57b808a Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2019 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

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

Logger represents a logger

func Log

func Log() *Logger

Log returns the Logger

func New

func New() *Logger

New returns a new Logger

func (*Logger) Error

func (l *Logger) Error(err error)

Error writes an error in the log

func (*Logger) Print

func (l *Logger) Print(v ...interface{})

Print writes an info in the log

func (*Logger) Printf

func (l *Logger) Printf(format string, v ...interface{})

Printf writes an info with format in the log

Jump to

Keyboard shortcuts

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