cmd: update to pr change request

This commit is contained in:
kiel barry 2018-05-08 10:02:24 -07:00 committed by GitHub
parent 5daa64bdb0
commit 0569719fcc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,7 +32,8 @@ type JSONLogger struct {
cfg *vm.LogConfig
}
// NewJSONLogger assigns values to JSONLogger struct.
// NewJSONLogger creates a new EVM tracer that prints execution steps as JSON objects
// into the provided stream.
func NewJSONLogger(cfg *vm.LogConfig, writer io.Writer) *JSONLogger {
return &JSONLogger{json.NewEncoder(writer), cfg}
}