ctxlog

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

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

Go to latest
Published: Feb 11, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContextLog

type ContextLog struct {
	ContextInfo string
	Sticker     map[string]interface{}
	Timings     map[string]int64
}

func NewContextLog

func NewContextLog(name string) *ContextLog

func (*ContextLog) Finish

func (cLog *ContextLog) Finish()

func (*ContextLog) Log

func (log *ContextLog) Log(key string, value interface{})

func (*ContextLog) LogTiming

func (log *ContextLog) LogTiming(key string, value int64)

func (*ContextLog) String

func (cLog *ContextLog) String() string

Jump to

Keyboard shortcuts

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