Files
gocryptotrader/log/custom_log_hooks_test.go
Adrian Gallagher f5faca2eb2 linter: Enable gofumpt and run against codebase (#1848)
* linter: Enable gofumpt and run against codebase

* Address shazbert's nits

* gofumpt: Fix issues after rebase
2025-03-18 10:23:16 +11:00

12 lines
214 B
Go

package log
import "testing"
func TestSetCustomLoghook(t *testing.T) {
t.Parallel()
logHook := func(_, _ string, _ ...interface{}) (bypassLibraryLogSystem bool) {
return false
}
SetCustomLogHook(logHook)
}