nano: Index | Files

package log

import ""


Package Files



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

func SetLogger Uses

func SetLogger(logger Logger)

SetLogger rewrites the default logger

type Logger Uses

type Logger interface {
    Println(v ...interface{})
    Fatal(v ...interface{})
    Fatalf(format string, v ...interface{})

Logger represents the log interface

Package log imports 2 packages (graph). Updated 2019-08-09. Refresh now. Tools for package owners.