add files logger to separate different logs

This commit is contained in:
JessonChan
2016-02-03 17:03:57 +08:00
parent 51b1095e73
commit f8c4b3aa4c
3 changed files with 73 additions and 15 deletions

View File

@@ -64,8 +64,6 @@ const (
LevelWarn = LevelWarning
)
var levelNames = [...]string{"emergency", "alert", "critical", "error", "warning", "notice", "info", "debug"}
type loggerType func() Logger
// Logger defines the behavior of a log provider.