give each of the adapter a neme

This commit is contained in:
JessonChan
2016-03-24 17:38:26 +08:00
parent 2e6a23743b
commit 03840f3fe8
6 changed files with 6 additions and 6 deletions

View File

@@ -282,5 +282,5 @@ func (w *fileLogWriter) Flush() {
}
func init() {
Register("file", newFileWriter)
Register(AdapterFile, newFileWriter)
}