Skip to content

Commit

Permalink
separate gpbft tracer subsystem and set skip
Browse files Browse the repository at this point in the history
  • Loading branch information
Stebalien committed Jul 8, 2024
1 parent 1a54c2c commit 0800c31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logging.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
)

var log = logging.Logger("f3")
var tracer gpbft.Tracer = (*gpbftTracer)(log)
var tracer gpbft.Tracer = (*gpbftTracer)(logging.WithSkip(logging.Logger("gpbft"), 1))

// Tracer used by GPBFT, backed by a Zap logger.
type gpbftTracer logging.ZapEventLogger
Expand Down

0 comments on commit 0800c31

Please sign in to comment.