logger

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InnerLogger

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

func NewFromLogger

func NewFromLogger(l *Logger, tag string) *InnerLogger

func (*InnerLogger) Debug

func (l *InnerLogger) Debug(v ...interface{})

func (*InnerLogger) Info

func (l *InnerLogger) Info(v ...interface{})

type Logger

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

func New

func New(w io.Writer, tag string) *Logger

func (*Logger) Debug

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

func (*Logger) Info

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

Jump to

Keyboard shortcuts

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