log

package
v0.0.0-...-30f5ca6 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Log

func Log(ctx context.Context, msg string, fields ...core.KeyValue)

func Logf

func Logf(ctx context.Context, fmt string, args ...interface{})

Types

type Interface

type Interface interface {
	Log(ctx context.Context, msg string, fields ...core.KeyValue)
	Logf(ctx context.Context, fmt string, args ...interface{})
}

type Logger

type Logger struct {
	scope.Scope
}

func With

func With(scope scope.Scope) Logger

func (Logger) Log

func (l Logger) Log(ctx context.Context, msg string, fields ...core.KeyValue)

func (Logger) Logf

func (l Logger) Logf(ctx context.Context, fmt string, args ...interface{})

Jump to

Keyboard shortcuts

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