task2

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2014 License: BSD-3-Clause, MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LogDir = filepath.Join(os.TempDir(), "sg-log")

Functions

func FlushAll

func FlushAll()

func LogURLForTag

func LogURLForTag(tag string) string

func NewPapertrailLogger

func NewPapertrailLogger(tag string) *syslog.Writer

Types

type Logger

type Logger struct {
	*log.Logger
	io.Writer
	Destination string
	// contains filtered or unexported fields
}

func NewLogger

func NewLogger(tag string) *Logger

func (*Logger) Close

func (x *Logger) Close() error

Jump to

Keyboard shortcuts

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