log

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package log implements a reporter to send spans in V2 JSON format to the Go standard Logger.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewReporter

func NewReporter(l *logrus.Logger) reporter.Reporter

NewReporter returns a new log reporter.

Types

type ZipkinFormatter added in v0.1.2

type ZipkinFormatter struct {
}

func (*ZipkinFormatter) Format added in v0.1.2

func (f *ZipkinFormatter) Format(entry *logrus.Entry) ([]byte, error)

Format renders a single log entry

Jump to

Keyboard shortcuts

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