golog

package module
v0.0.0-...-cfd2e7c Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2018 License: MIT Imports: 2 Imported by: 7

README

GoLog

Integrates loggers of several levels in a single struct.

Troubleshooting

Problem:
go test fails with following error: "missing ... in args forwarded to print-like function"
Cause:
There is a bug in the go vet command, which is automatically run when go test is run, in go 1.11.2. You can read more about it here.
Solution:
Run go test -vet=off

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Loggers

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

func (*Loggers) Debug

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

func (*Loggers) Error

func (l *Loggers) Error(v ...interface{})

func (*Loggers) Fatal

func (l *Loggers) Fatal(v ...interface{})

func (*Loggers) Info

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

func (*Loggers) Init

func (l *Loggers) Init(w io.Writer)

func (*Loggers) Warning

func (l *Loggers) Warning(v ...interface{})

Jump to

Keyboard shortcuts

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