Update log level specifications to include trailing spaces for better formatting

This commit is contained in:
2025-10-21 21:38:02 +01:00
parent 9b90315f37
commit 485bd3f70b

14
log.go
View File

@@ -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},
}
)