logging

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2021 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 Logger

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

func NewLogger

func NewLogger(service string) *Logger

func (*Logger) APIStartFailed

func (l *Logger) APIStartFailed(err error)

func (*Logger) CoordinatorChanged

func (l *Logger) CoordinatorChanged(oldHost, newHost string, oldPort, newPort int)

func (*Logger) CoordinatorConnectionFailed

func (l *Logger) CoordinatorConnectionFailed(host string, port int, err error)

func (*Logger) CoordinatorConnectionLost

func (l *Logger) CoordinatorConnectionLost(host string, port int)

func (*Logger) GetCoordinatorFailed

func (l *Logger) GetCoordinatorFailed(err error)

func (*Logger) GetWorkersFailed

func (l *Logger) GetWorkersFailed(err error)

func (*Logger) MonitorInit

func (l *Logger) MonitorInit()

func (*Logger) NoCoordinatorFound

func (l *Logger) NoCoordinatorFound()

func (*Logger) NoWorkersFound

func (l *Logger) NoWorkersFound()

func (*Logger) WorkerPrimaryCheckFailed

func (l *Logger) WorkerPrimaryCheckFailed(err error, workerID int)

func (*Logger) WorkerStateChange

func (l *Logger) WorkerStateChange(oldHost, newHost string, oldPort, newPort int)

func (*Logger) WorkerUpdateFailed

func (l *Logger) WorkerUpdateFailed(err error)

func (*Logger) WorkerUpdated

func (l *Logger) WorkerUpdated(oldHost, newHost string, oldPort, newPort int)

Jump to

Keyboard shortcuts

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