package log

import "github.com/appc/docker2aci/pkg/log"

Index

Types

type Logger

type Logger interface {
	Print(...interface{})
	Printf(string, ...interface{})
	Println(...interface{})
}

Logger is the interface that enables logging. It is compatible with the stdlib "log" methods. It is also compatible with https://godoc.org/github.com/Sirupsen/logrus#StdLogger.

func NewNopLogger

func NewNopLogger() Logger

func NewStdLogger

func NewStdLogger(out io.Writer) Logger

Source Files

log.go

Version
v0.17.2 (latest)
Published
Apr 13, 2018
Platform
linux/amd64
Imports
2 packages
Last checked
1 day ago

Tools for package owners.