logger

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(v ...interface{})

Debug writes log message with defaultLogger.Debug level

func Error

func Error(v ...interface{})

Error writes log message with defaultLogger.Error level

func Info

func Info(v ...interface{})

Info writes log message with defaultLogger.Info level

func SetLogLevel

func SetLogLevel(level Level)

SetLogLevel configures the min log level for autoprofile defaultLogger

func Warn

func Warn(v ...interface{})

Warn writes log message with defaultLogger.Warn level

Types

type Level

type Level uint8

Level is the log level

const (
	ErrorLevel Level = iota
	WarnLevel
	InfoLevel
	DebugLevel
)

Valid log levels compatible with github.com/instana/go-sensor log level values

Jump to

Keyboard shortcuts

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