Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
7b6634a7bb
|
|||
|
485bd3f70b
|
13
go.mod
13
go.mod
@@ -1,14 +1,5 @@
|
||||
module lol.mleku.dev
|
||||
|
||||
go 1.25.0
|
||||
go 1.24.0
|
||||
|
||||
require (
|
||||
github.com/davecgh/go-spew v1.1.1
|
||||
github.com/fatih/color v1.18.0
|
||||
)
|
||||
|
||||
require (
|
||||
github.com/mattn/go-colorable v0.1.14 // indirect
|
||||
github.com/mattn/go-isatty v0.0.20 // indirect
|
||||
golang.org/x/sys v0.35.0 // indirect
|
||||
)
|
||||
require github.com/davecgh/go-spew v1.1.1
|
||||
|
||||
9
go.sum
9
go.sum
@@ -1,11 +1,2 @@
|
||||
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
|
||||
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
||||
github.com/fatih/color v1.18.0 h1:S8gINlzdQ840/4pfAwic/ZE0djQEH3wM94VfqLTZcOM=
|
||||
github.com/fatih/color v1.18.0/go.mod h1:4FelSpRwEGDpQ12mAdzqdOukCy4u8WUtOY6lkT/6HfU=
|
||||
github.com/mattn/go-colorable v0.1.14 h1:9A9LHSqF/7dyVVX6g0U9cwm9pG3kP9gSzcuIPHPsaIE=
|
||||
github.com/mattn/go-colorable v0.1.14/go.mod h1:6LmQG8QLFO4G5z1gPvYEzlUgJ2wF+stgPZH1UqBm1s8=
|
||||
github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY=
|
||||
github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
|
||||
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.35.0 h1:vz1N37gP5bs89s7He8XuIYXpyY0+QlsKmzipCbUtyxI=
|
||||
golang.org/x/sys v0.35.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k=
|
||||
|
||||
14
log.go
14
log.go
@@ -87,13 +87,13 @@ var (
|
||||
|
||||
// LevelSpecs specifies the id, string name and color-printing function
|
||||
LevelSpecs = []LevelSpec{
|
||||
{Off, "", NoSprint},
|
||||
{Fatal, "☠️", fmt.Sprint},
|
||||
{Error, "🚨", fmt.Sprint},
|
||||
{Warn, "⚠️", fmt.Sprint},
|
||||
{Info, "ℹ️", fmt.Sprint},
|
||||
{Debug, "🔎", fmt.Sprint},
|
||||
{Trace, "👻", fmt.Sprint},
|
||||
{Off, " ", NoSprint},
|
||||
{Fatal, "☠️ ", fmt.Sprint},
|
||||
{Error, "🚨 ", fmt.Sprint},
|
||||
{Warn, "⚠️ ", fmt.Sprint},
|
||||
{Info, "ℹ️ ", fmt.Sprint},
|
||||
{Debug, "🔎 ", fmt.Sprint},
|
||||
{Trace, "👻 ", fmt.Sprint},
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user