mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
skeleton: fix log WithField comment
This commit is contained in:
parent
2c5b553d21
commit
2c96d079b8
|
@ -16,7 +16,8 @@ import (
|
|||
// For example, grid strategy uses "grid"
|
||||
const ID = "skeleton"
|
||||
|
||||
// Attach the strategy field with our ID, so that the logs from this strategy will be tagged with our ID
|
||||
// log is a logrus.Entry that will be reused.
|
||||
// This line attaches the strategy field to the logger with our ID, so that the logs from this strategy will be tagged with our ID
|
||||
var log = logrus.WithField("strategy", ID)
|
||||
|
||||
var ten = fixedpoint.NewFromInt(10)
|
||||
|
|
Loading…
Reference in New Issue
Block a user