Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
anishnaik committed Jul 6, 2023
1 parent 0dd081d commit 8961ddd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fuzzing/fuzzer.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import (
"github.com/crytic/medusa/logging/colors"
"github.com/rs/zerolog"
"github.com/rs/zerolog/pkgerrors"
"io"
"math/big"
"math/rand"
"path/filepath"
Expand Down Expand Up @@ -88,7 +89,7 @@ type Fuzzer struct {
// while initializing the code.
func NewFuzzer(config config.ProjectConfig) (*Fuzzer, error) {
// Create the global logger, set some global logging parameters, and enable terminal coloring
logging.GlobalLogger = logging.NewLogger(config.Logging.Level, true, nil)
logging.GlobalLogger = logging.NewLogger(config.Logging.Level, true, make([]io.Writer, 0)...)
zerolog.ErrorStackMarshaler = pkgerrors.MarshalStack
zerolog.TimeFieldFormat = zerolog.TimeFormatUnix
colors.EnableColor()
Expand Down

0 comments on commit 8961ddd

Please sign in to comment.