Versions in this module Expand all Collapse all v0 v0.5.0 Apr 20, 2017 Changes in this version type Logger + func (l *Logger) SetStderr(w io.Writer) + func (l *Logger) SetStdout(w io.Writer) v0.4.0 Feb 16, 2016 Changes in this version + const DebugPrefix + const ErrorPrefix + const InfoPrefix + const WarnPrefix + var Cyan = Color(prettyprint.Colors["Cyan"]) + var Default = Color(prettyprint.Colors["Default"]) + var DefaultLogger = &Logger + var Green = Color(prettyprint.Colors["Green"]) + var Red = Color(prettyprint.Colors["Red"]) + var Yellow = Color(prettyprint.Colors["Yellow"]) + func CleanExit(format string, v ...interface{}) + func Debug(msg string, v ...interface{}) + func Die(format string, v ...interface{}) + func Err(format string, v ...interface{}) + func Info(format string, v ...interface{}) + func Msg(format string, v ...interface{}) + func Warn(format string, v ...interface{}) + type Color string + func (c Color) String() string + type Logger struct + func NewLogger(stdout, stderr io.Writer, debug bool) *Logger + func (l *Logger) CleanExit(format string, v ...interface{}) + func (l *Logger) Debug(msg string, v ...interface{}) + func (l *Logger) Die(format string, v ...interface{}) + func (l *Logger) Err(format string, v ...interface{}) + func (l *Logger) Info(format string, v ...interface{}) + func (l *Logger) Msg(format string, v ...interface{}) + func (l *Logger) SetDebug(debug bool) + func (l *Logger) Warn(format string, v ...interface{})