[MM-45065] Switch all api4 methods to use the new logger (#24896)

Этот коммит содержится в:
Ben Schumacher
2023-10-31 11:00:22 +01:00
коммит произвёл GitHub
родитель 3812de0dec
Коммит a4ece51391
8 изменённых файлов: 13 добавлений и 14 удалений

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

@@ -23,7 +23,6 @@ import (
"github.com/stretchr/testify/require"
"github.com/mattermost/mattermost/server/public/model"
"github.com/mattermost/mattermost/server/public/shared/mlog"
"github.com/mattermost/mattermost/server/v8/channels/utils/fileutils"
)
@@ -358,7 +357,7 @@ func TestGetLogs(t *testing.T) {
defer th.TearDown()
for i := 0; i < 20; i++ {
mlog.Info(strconv.Itoa(i))
th.TestLogger.Info(strconv.Itoa(i))
}
err := th.TestLogger.Flush()