MM-28419: Move SetLogger() to Server. (#15551)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
c298678663
Коммит
61f08d397c
@@ -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
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user