mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 14:55:16 +00:00
interact: reduce info logs
This commit is contained in:
parent
161dc7dc64
commit
2a927dc34d
|
@ -247,9 +247,9 @@ func (it *Interact) Start(ctx context.Context) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, custom := range it.customInteractions {
|
for _, custom := range it.customInteractions {
|
||||||
log.Infof("checking %T custom interaction...", custom)
|
log.Debugf("checking %T custom interaction...", custom)
|
||||||
if initializer, ok := custom.(Initializer); ok {
|
if initializer, ok := custom.(Initializer); ok {
|
||||||
log.Infof("initializing %T custom interaction...", custom)
|
log.Debugf("initializing %T custom interaction...", custom)
|
||||||
if err := initializer.Initialize(); err != nil {
|
if err := initializer.Initialize(); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user