Versions in this module Expand all Collapse all v0 v0.0.1 May 17, 2015 Changes in this version + func Debug(v ...interface{}) + func Debugf(format string, v ...interface{}) + func Error(v ...interface{}) + func Errorf(format string, v ...interface{}) + func Fatal(v ...interface{}) + func Fatalf(format string, v ...interface{}) + func Info(v ...interface{}) + func Infof(format string, v ...interface{}) + func Print(level LogLevel, v ...interface{}) + func Printf(level LogLevel, format string, v ...interface{}) + func Trace(v ...interface{}) + func Tracef(format string, v ...interface{}) + func Warn(v ...interface{}) + func Warnf(format string, v ...interface{}) + type LogLevel uint8 + const LOG_DEBUG + const LOG_ERROR + const LOG_FATAL + const LOG_INFO + const LOG_TRACE + const LOG_WARN + func (level LogLevel) Color() color + func (level LogLevel) String() string + type Logger struct + func New(out io.Writer, prefix string) *Logger + func (logger *Logger) Debug(v ...interface{}) + func (logger *Logger) Debugf(format string, v ...interface{}) + func (logger *Logger) Error(v ...interface{}) + func (logger *Logger) Errorf(format string, v ...interface{}) + func (logger *Logger) Fatal(v ...interface{}) + func (logger *Logger) Fatalf(format string, v ...interface{}) + func (logger *Logger) Info(v ...interface{}) + func (logger *Logger) Infof(format string, v ...interface{}) + func (logger *Logger) Print(level LogLevel, v ...interface{}) + func (logger *Logger) Printf(level LogLevel, format string, v ...interface{}) + func (logger *Logger) Trace(v ...interface{}) + func (logger *Logger) Tracef(format string, v ...interface{}) + func (logger *Logger) Warn(v ...interface{}) + func (logger *Logger) Warnf(format string, v ...interface{})