info

package
Version: v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2019 License: MIT Imports: 0 Imported by: 6

Documentation

Overview

Package info allows users to create a Logger interface from any object that supports Info and Infof.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(info Info) *logger

New creates a new logger wrapping info.

Types

type Info

type Info interface {
	Info(v ...interface{})
	Infof(format string, v ...interface{})
}

Info is an interface for Info and Infof.

Source Files

Jump to

Keyboard shortcuts

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