elasticapm

package
v0.0.0-...-4f166ec Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitGlobalLogger

func InitGlobalLogger(config *Config)

InitGlobalLogger initialize global logger for elastic apm

Types

type Config

type Config struct {
	Noop bool
}

Config is settings of elastic apm logger

type Logger

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

Logger is a logger for elastic apm

func GlobalLogger

func GlobalLogger() *Logger

GlobalLogger retrieve global logger for elastic apm

func (*Logger) Debugf

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

Debugf logs a message at DebugLevel for elastic apm

func (*Logger) Errorf

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

Errorf logs a message at ErrorLevel for elastic apm

Jump to

Keyboard shortcuts

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