bbgo_origin/pkg/strategy/tri/debug.go

17 lines
236 B
Go
Raw Normal View History

2024-01-29 07:45:48 +00:00
//go:build debug
// +build debug
package tri
const debugMode = true
func debug(msg string, args ...any) {
log.Infof(msg, args...)
}
func debugAssert(expr bool, msg string, args ...any) {
if !expr {
log.Errorf(msg, args...)
}
}