Refactor mlog
- simplify mlog by removing redundant code
- remove Zap dependency
- update unit test helpers
- update logging config
- update auditing
Этот коммит содержится в:
Doug Lauder
2021-08-17 16:08:04 -04:00
коммит произвёл GitHub
родитель 04b27ce93c
Коммит a4507327a7
216 изменённых файлов: 4940 добавлений и 14674 удалений

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

@@ -6,7 +6,6 @@ package sqlstore_test
import (
"testing"
"github.com/mattermost/mattermost-server/v6/shared/mlog"
"github.com/mattermost/mattermost-server/v6/store/sqlstore"
"github.com/mattermost/mattermost-server/v6/testlib"
)
@@ -14,7 +13,6 @@ import (
var mainHelper *testlib.MainHelper
func TestMain(m *testing.M) {
mlog.DisableZap()
mainHelper = testlib.NewMainHelperWithOptions(nil)
defer mainHelper.Close()