aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/ethereum/flags.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-02-13 22:06:32 +0800
committerobscuren <geffobscura@gmail.com>2015-02-13 22:06:32 +0800
commit75d164037fb9bbf75def7c5501727fd634ef124f (patch)
treee5be5bd595139ff7dfbe6261e1e659d8e7dd6f9c /cmd/ethereum/flags.go
parent38faf2c51a1e4a86cda5dfa1b4f7fdae4fd7f58d (diff)
parenta5ea21cd85530eee6eb1bb83c37c20d009f11f74 (diff)
downloadgo-tangerine-75d164037fb9bbf75def7c5501727fd634ef124f.tar
go-tangerine-75d164037fb9bbf75def7c5501727fd634ef124f.tar.gz
go-tangerine-75d164037fb9bbf75def7c5501727fd634ef124f.tar.bz2
go-tangerine-75d164037fb9bbf75def7c5501727fd634ef124f.tar.lz
go-tangerine-75d164037fb9bbf75def7c5501727fd634ef124f.tar.xz
go-tangerine-75d164037fb9bbf75def7c5501727fd634ef124f.tar.zst
go-tangerine-75d164037fb9bbf75def7c5501727fd634ef124f.zip
Merge branch 'logjson' into develop
Diffstat (limited to 'cmd/ethereum/flags.go')
-rw-r--r--cmd/ethereum/flags.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/ethereum/flags.go b/cmd/ethereum/flags.go
index af57c6a67..bcdd7aa84 100644
--- a/cmd/ethereum/flags.go
+++ b/cmd/ethereum/flags.go
@@ -58,6 +58,7 @@ var (
ConfigFile string
DebugFile string
LogLevel int
+ LogFormat string
Dump bool
DumpHash string
DumpNumber int
@@ -112,6 +113,7 @@ func Init() {
flag.StringVar(&ConfigFile, "conf", defaultConfigFile, "config file")
flag.StringVar(&DebugFile, "debug", "", "debug file (no debugging if not set)")
flag.IntVar(&LogLevel, "loglevel", int(logger.InfoLevel), "loglevel: 0-5: silent,error,warn,info,debug,debug detail)")
+ flag.StringVar(&LogFormat, "logformat", "std", "logformat: std,raw)")
flag.BoolVar(&DiffTool, "difftool", false, "creates output for diff'ing. Sets LogLevel=0")
flag.StringVar(&DiffType, "diff", "all", "sets the level of diff output [vm, all]. Has no effect if difftool=false")
flag.BoolVar(&ShowGenesis, "genesis", false, "Dump the genesis block")