Versions in this module Expand all Collapse all v0 v0.1.0 Aug 2, 2017 Changes in this version + type LogLevel int + const Debug + const Error + const Info + const Warn + func ToLogLevel(levelStr string) LogLevel + type SimpleLogger struct + History bytes.Buffer + KeepHistory bool + Level LogLevel + Logger *log.Logger + Source string + func NewSimpleLogger(source string, logger *log.Logger, keepHistory bool, level LogLevel) *SimpleLogger + func (l *SimpleLogger) Debug(format string, a ...interface{}) + func (l *SimpleLogger) Err(format string, a ...interface{}) + func (l *SimpleLogger) Info(format string, a ...interface{}) + func (l *SimpleLogger) Log(level LogLevel, format string, a ...interface{}) + func (l *SimpleLogger) Warn(format string, a ...interface{})