log - ActiveState ActiveGo 1.8
...

Package log

import "github.com/go-log/log"
Overview
Index
Subdirectories

Overview ▾

Package log provides a log interface

func Log

func Log(v ...interface{})

Log logs using the default logger

func Logf

func Logf(format string, v ...interface{})

Logf logs formatted using the default logger

type Logger

Logger is a generic logging interface

type Logger interface {
    Log(v ...interface{})
    Logf(format string, v ...interface{})
}
var (
    // The global default logger
    DefaultLogger Logger = &noOpLogger{}
)

Subdirectories

Name Synopsis
..
appengine
fmt
log
logrus