logging

package
v0.0.0-...-3c201f0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2020 License: MIT Imports: 4 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 includes output interface.

func NewLogger

func NewLogger(output io.Writer, location *time.Location) (Logger, error)

NewLogger returns new Logger.

func (*Logger) Debug

func (l *Logger) Debug(msg string)

Debug outputs debug log.

func (*Logger) Error

func (l *Logger) Error(msg string)

Error outputs error log.

func (*Logger) Info

func (l *Logger) Info(msg string)

Info outputs info log.

Jump to

Keyboard shortcuts

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