Rename NewCLILogger to NewCLI

This commit is contained in:
Elara 2022-12-19 19:28:33 -08:00
parent 1a2d4a1b4f
commit 8aeea81afa
1 changed files with 1 additions and 1 deletions

2
cli.go
View File

@ -33,7 +33,7 @@ type CLILogger struct {
PanicColor color.Color
}
func NewCLILogger(out io.Writer) *CLILogger {
func NewCLI(out io.Writer) *CLILogger {
useColor := false
if f, ok := out.(*os.File); ok {
useColor = isatty.IsTerminal(f.Fd())