log

package
v0.0.0-...-917641f Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2019 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package log defines the interface for loging within the DOT project.

It is mainly used by the ops and ops/nw packages

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Log

type Log interface {
	Printf(fmt string, v ...interface{})
	Println(v ...interface{})
	Fatal(v ...interface{})
}

Log is the default interface for logging used through out the DOT project. This allows callers to provide their implementation if needed.

func Default

func Default() Log

Default returns a default logger that does not print anything

Jump to

Keyboard shortcuts

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