mirror of
https://github.com/tendermint/tendermint.git
synced 2026-04-17 22:21:04 +00:00
Add command logging to barak
This commit is contained in:
@@ -118,7 +118,7 @@ func Run(authCommand AuthCommand) (interface{}, error) {
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
log.Info(Fmt("Run() received command %v", reflect.TypeOf(command)))
|
||||
log.Info(Fmt("Run() received command %v:\n%v", reflect.TypeOf(command), command))
|
||||
// Issue command
|
||||
switch c := command.(type) {
|
||||
case CommandRunProcess:
|
||||
|
||||
Reference in New Issue
Block a user