logger

package
v0.0.0-...-63fa78c Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WorkerLogger

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

WorkerLogger is a logger which reports updates on a per-worker basis.

func New

func New(numWorkers int) (*WorkerLogger, error)

func (*WorkerLogger) Close

func (wl *WorkerLogger) Close()

func (*WorkerLogger) Error

func (wl *WorkerLogger) Error(err error)

func (*WorkerLogger) Log

func (wl *WorkerLogger) Log(i int, format string, a ...interface{})

func (*WorkerLogger) Start

func (wl *WorkerLogger) Start()

func (*WorkerLogger) Status

func (wl *WorkerLogger) Status(format string, a ...interface{})

Jump to

Keyboard shortcuts

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