logging

package
v1.0.0-beta Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(args ...interface{})

Debug logs to the DEBUG log

func Debugf

func Debugf(format string, args ...interface{})

Debugf logs to the DEBUG log

func Error

func Error(args ...interface{})

Error logs to the ERROR log

func Errorf

func Errorf(format string, args ...interface{})

Errorf logs to the ERROR log

func Fatal

func Fatal(args ...interface{})

Fatal logs to the FATAL log

func Fatalf

func Fatalf(format string, args ...interface{})

Fatalf logs to the FATAL log

func Info

func Info(args ...interface{})

Info logs to the INFO log

func Infof

func Infof(format string, args ...interface{})

Infof logs to the INFO log.

func SetLogger

func SetLogger(l Logger)

SetLogger sets logger that used in gosync service

func Warning

func Warning(args ...interface{})

Warning logs to the WARN log

func Warningf

func Warningf(format string, args ...interface{})

Warningf logs to the WARN log.

Types

type Logger

type Logger interface {
	Debug(args ...interface{})
	Debugf(format string, args ...interface{})
	Info(args ...interface{})
	Infof(format string, args ...interface{})
	Warning(args ...interface{})
	Warningf(format string, args ...interface{})
	Error(args ...interface{})
	Errorf(format string, args ...interface{})
	Fatal(args ...interface{})
	Fatalf(format string, args ...interface{})
}

Logger does underlying logging work for rksync

Jump to

Keyboard shortcuts

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