1
0
ミラー元 https://github.com/astaxie/beego.git 前回の同期 2025-09-18 08:22:11 +00:00

give each of the adapter a neme

このコミットが含まれているのは:
JessonChan
2016-03-24 17:38:26 +08:00
コミット 03840f3fe8
6個のファイルの変更6行の追加6行の削除

ファイルの表示

@@ -113,5 +113,5 @@ func (c *connWriter) needToConnectOnMsg() bool {
}
func init() {
Register("conn", NewConn)
Register(AdapterConn, NewConn)
}

ファイルの表示

@@ -97,5 +97,5 @@ func (c *consoleWriter) Flush() {
}
func init() {
Register("console", NewConsole)
Register(AdapterConsole, NewConsole)
}

ファイルの表示

@@ -76,5 +76,5 @@ func (el *esLogger) Flush() {
}
func init() {
logs.Register("es", NewES)
logs.Register(logs.AdaterEs, NewES)
}

ファイルの表示

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

ファイルの表示

@@ -112,5 +112,5 @@ func newFilesWriter() Logger {
}
func init() {
Register("multifile", newFilesWriter)
Register(AdapterMultiFile, newFilesWriter)
}

ファイルの表示

@@ -156,5 +156,5 @@ func (s *SMTPWriter) Destroy() {
}
func init() {
Register("smtp", newSMTPWriter)
Register(AdapterMail, newSMTPWriter)
}