build: go 1.24
We were running behind and there were quite some deprecations to update. This was mostly in the upstream copy/pasta package but seems quite minimal.
This commit is contained in:
6
vendor/github.com/charmbracelet/log/level.go
generated
vendored
6
vendor/github.com/charmbracelet/log/level.go
generated
vendored
@ -8,7 +8,7 @@ import (
|
||||
)
|
||||
|
||||
// Level is a logging level.
|
||||
type Level int32
|
||||
type Level int
|
||||
|
||||
const (
|
||||
// DebugLevel is the debug level.
|
||||
@ -22,12 +22,12 @@ const (
|
||||
// FatalLevel is the fatal level.
|
||||
FatalLevel Level = 12
|
||||
// noLevel is used with log.Print.
|
||||
noLevel Level = math.MaxInt32
|
||||
noLevel Level = math.MaxInt
|
||||
)
|
||||
|
||||
// String returns the string representation of the level.
|
||||
func (l Level) String() string {
|
||||
switch l {
|
||||
switch l { //nolint:exhaustive
|
||||
case DebugLevel:
|
||||
return "debug"
|
||||
case InfoLevel:
|
||||
|
Reference in New Issue
Block a user