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) and is imported by 11 packages. Updated 2019-06-30. Refresh now. Tools for package owners.