package
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Dec 18, 2019
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 6
Opens a new window with list of known importers.
Documentation
¶
Package info allows users to create a Logger interface from any
object that supports Info and Infof.
func New(info Info) *logger
New creates a new logger wrapping info.
type Info interface {
Info(v ...interface{})
Infof(format string, v ...interface{})
}
Info is an interface for Info and Infof.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.