logger

package
v1.29.5-cluster Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2019 License: Apache-2.0 Imports: 11 Imported by: 91

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Errorf

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

Errorf logs error message.

func Fatalf

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

Fatalf logs fatal message and terminates the app.

func Infof

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

Infof logs info message.

func Init

func Init()

Init initializes the logger.

Init must be called after flag.Parse()

There is no need in calling Init from tests.

func Panicf

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

Panicf logs panic message and panics.

func StdErrorLogger

func StdErrorLogger() *log.Logger

StdErrorLogger returns standard error logger.

Types

This section is empty.

Jump to

Keyboard shortcuts

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