MM-28419: Move SetLogger() to Server. (#15551)

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Этот коммит содержится в:
George Goldberg
2020-09-29 14:30:15 +01:00
коммит произвёл GitHub
родитель c298678663
Коммит 61f08d397c
4 изменённых файлов: 4 добавлений и 22 удалений

Просмотреть файл

@@ -677,8 +677,3 @@ func (a *App) SetServer(srv *Server) {
func (a *App) GetT() goi18n.TranslateFunc {
return a.t
}
// TODO: change this to make a server method.
func (a *App) SetLog(l *mlog.Logger) {
a.srv.Log = l
}