log - ActiveState ActiveGo 1.8
...

Package log

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

Overview ▾

func Fatal

func Fatal(v ...interface{})

Fatal logs with Log and then exits with os.Exit(1)

func Fatalf

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

Fatalf logs with Logf and then exits with os.Exit(1)

func Log

func Log(v ...interface{})

Log makes use of github.com/go-log/log.Log

func Logf

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

Logf makes use of github.com/go-log/log.Logf

func SetLogger

func SetLogger(l log.Logger)

SetLogger sets the local logger