mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-22 23:16:48 +00:00
* linter: Enable gofumpt and run against codebase * Address shazbert's nits * gofumpt: Fix issues after rebase
12 lines
214 B
Go
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)
|
|
}
|