Versions in this module Expand all Collapse all v0 v0.2.1 Oct 7, 2014 Changes in this version + func Debug(fm string, v ...interface{}) + func Error(fm string, v ...interface{}) + func Fatal(fm string, v ...interface{}) + func Info(fm string, v ...interface{}) + func Log(lv LogLevel, fm string, v ...interface{}) + func LogString(lv LogLevel) string + func New(m LogMap, lv LogLevel, only bool) *logger + func SetLogLevel(lv LogLevel) + func SetOnly(only bool) + func Warn(fm string, v ...interface{}) + type LogLevel int + const LogDebug + const LogError + const LogFatal + const LogInfo + const LogWarn + type LogMap map[LogLevel]*log.Logger + type Logger interface + Debug func(string, ...interface{}) + Error func(string, ...interface{}) + Fatal func(string, ...interface{}) + Info func(string, ...interface{}) + Log func(LogLevel, string, ...interface{}) + SetLogLevel func(LogLevel) + SetOnly func(bool) + Warn func(string, ...interface{}) + func InitFromFlags() Logger + type MockLogger struct + func NewMockLogger(ctrl *gomock.Controller) *MockLogger + func (_m *MockLogger) Debug(_param0 string, _param1 ...interface{}) + func (_m *MockLogger) EXPECT() *_MockLoggerRecorder + func (_m *MockLogger) Error(_param0 string, _param1 ...interface{}) + func (_m *MockLogger) Fatal(_param0 string, _param1 ...interface{}) + func (_m *MockLogger) Info(_param0 string, _param1 ...interface{}) + func (_m *MockLogger) Log(_param0 LogLevel, _param1 string, _param2 ...interface{}) + func (_m *MockLogger) SetLogLevel(_param0 LogLevel) + func (_m *MockLogger) SetOnly(_param0 bool) + func (_m *MockLogger) Warn(_param0 string, _param1 ...interface{})