log

package
v0.0.0-...-9e46e17 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2015 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Custom logger for gotrace

Index

Constants

This section is empty.

Variables

View Source
var (
	L *log.Logger
)

counter to mark each call so that entry and exit points can be correlated

Functions

func Format

func Format(args ...interface{}) string

Format N number of arguments for logging, and limit the length of each formatted arg.

func ID

func ID() uint64

func Now

func Now() time.Time

func Setup

func Setup(output, prefix string, size int) int

Setup our logger return a value so this van be executed in a toplevel var statement

func Since

func Since(t time.Time) time.Duration

Types

This section is empty.

Jump to

Keyboard shortcuts

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