logging

package
v0.0.0-...-714ab49 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2016 License: MIT Imports: 6 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogDebugTracer

type LogDebugTracer interface {
	StopDebug(errPtr *error)
}

type LogTracer

type LogTracer interface {
	Stop(errPtr *error)
}

type Logger

type Logger interface {
	loggers.LoggerRFC5424Simple
	Trace(s string) LogTracer
	TraceDebug(s string) LogDebugTracer

	WithError(err error) Logger
	WithField(key string, value interface{}) Logger
	WithFields(fields map[string]interface{}) Logger

	DeferredRecoverStack(debugMessage string)
}

Logger is a the interface

func NewApexLogger

func NewApexLogger(level apex.Level, handler apex.Handler, apexEntry *apex.Entry, exitOnEmergency bool) Logger

NewApexLogger creates a new logger

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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