plugeth/internal/debug
Sina Mahmoodi 5338ce4447
internal/debug: add JSON log format and rename logging flags (#22341)
This change adds support for logging JSON records when the --log.json flag is
given. The --debug and --backtrace flags are deprecated and replaced by
--log.debug and --log.backtrace.

While changing this, it was noticed that the --memprofilerate and
--blockprofilerate were ineffective (they were always overridden even if
--pprof.memprofilerate was not set). This is also fixed.

Co-authored-by: Felix Lange <fjl@twurst.com>
2021-04-06 16:09:51 +02:00
..
api.go cmd/bootnode,internal/debug: fix some comments (#21623) 2020-09-29 11:31:14 +02:00
flags.go internal/debug: add JSON log format and rename logging flags (#22341) 2021-04-06 16:09:51 +02:00
loudpanic_fallback.go cmd/utils, internal/debug: show all stacks for 10x Ctrl-C induced panic 2016-03-12 00:59:37 +01:00
loudpanic.go cmd/utils, internal/debug: show all stacks for 10x Ctrl-C induced panic 2016-03-12 00:59:37 +01:00
trace_fallback.go internal/debug: also rename debug_startTrace to debug_startGoTrace 2016-05-06 11:15:05 +02:00
trace.go all: update light logs (and a few others) to the new model 2017-03-03 11:41:52 +02:00