log

package
v0.0.0-...-7f0ef27 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Caller

type Caller struct {
	Defined bool
	PC      uintptr
	File    string
	Line    int
	Go      int
}

func (Caller) FullPath

func (ec Caller) FullPath() string

func (Caller) TrimmedPath

func (ec Caller) TrimmedPath() string

type Log

type Log struct {
	Level   level.Level
	Time    time.Time
	Message string
	Caller  Caller
	Stack   string
}

type WrapLog

type WrapLog struct {
	Log
	// contains filtered or unexported fields
}

func (*WrapLog) Wrap

func (wl *WrapLog) Wrap(l Log, out exporter.Flusher) *WrapLog

Jump to

Keyboard shortcuts

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