Skip to content

Commit d07e151

Browse files
committed
chore: rename logger
1 parent dbce1f6 commit d07e151

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pkg/goformatters/gci/gci.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ func New(settings *config.GciSettings) (*Formatter, error) {
2424

2525
modPath, err := gomod.GetModulePath()
2626
if err != nil {
27-
internal.LinterLogger.Errorf("gci: %v", err)
27+
internal.FormatterLogger.Errorf("gci: %v", err)
2828
}
2929

3030
cfg := gcicfg.YamlConfig{

pkg/goformatters/internal/commons.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ package internal
22

33
import "github.com/golangci/golangci-lint/pkg/logutils"
44

5-
// LinterLogger must be use only when the context logger is not available.
6-
var LinterLogger = logutils.NewStderrLog(logutils.DebugKeyFormatter)
5+
// FormatterLogger must be use only when the context logger is not available.
6+
var FormatterLogger = logutils.NewStderrLog(logutils.DebugKeyFormatter)

0 commit comments

Comments
 (0)