refactor: central logger (#1692)

This commit is contained in:
Richard Gomez authored and GitHub committed 2025-01-13 08:09:22 -06:00
1 parent b022d1c856
commit ab38a46986
18 files changed
+191 -138

No files matched your search

+2 -2
View File
@@ -7,7 +7,7 @@ import (
"regexp"
"unicode"
"github.com/rs/zerolog/log"
"github.com/zricethezav/gitleaks/v8/logging"
)
var b64LikelyChars [128]byte
@@ -227,7 +227,7 @@ func (d *Decoder) findEncodedSegments(data string, parentSegments []EncodedSegme
}
}
log.Debug().Msgf("segment found: %#v", segment)
logging.Debug().Msgf("segment found: %#v", segment)
segments = append(segments, segment)
}