package log
import "github.com/google/martian/v3/log"
Package log provides a universal logger for martian packages.
Index ¶
- Constants
- func Debugf(format string, args ...interface{})
- func Errorf(format string, args ...interface{})
- func Infof(format string, args ...interface{})
- func SetLevel(l int)
Constants ¶
const ( // Silent is a level that logs nothing. Silent int = iota // Error is a level that logs error logs. Error // Info is a level that logs error, and info logs. Info // Debug is a level that logs error, info, and debug logs. Debug )
Functions ¶
func Debugf ¶
func Debugf(format string, args ...interface{})
Debugf logs a debug message.
func Errorf ¶
func Errorf(format string, args ...interface{})
Errorf logs an error message.
func Infof ¶
func Infof(format string, args ...interface{})
Infof logs an info message.
func SetLevel ¶
func SetLevel(l int)
SetLevel sets the global log level.
Source Files ¶
- Version
- v3.0.0
- Published
- Jul 9, 2019
- Platform
- windows/amd64
- Imports
- 3 packages
- Last checked
- 1 hour ago –
Tools for package owners.