We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3e05ef5 + 5774ba3 commit 3d4533dCopy full SHA for 3d4533d
cmd/version/cmd.go
@@ -1,6 +1,8 @@
1
package version
2
3
import (
4
+ "os"
5
+
6
"github.com/onflow/flow-evm-gateway/api"
7
"github.com/rs/zerolog/log"
8
"github.com/spf13/cobra"
@@ -10,6 +12,7 @@ var Cmd = &cobra.Command{
10
12
Use: "version",
11
13
Short: "Prints the current version of the EVM Gateway Node",
14
Run: func(*cobra.Command, []string) {
- log.Info().Str("version", api.Version).Msg("build details")
15
+ logger := log.Output(os.Stdout)
16
+ logger.Info().Str("version", api.Version).Msg("build details")
17
},
18
}
0 commit comments