- use a better logger separation - use tags not not overload the CI output - removed lot of log.Println/Fatal/Error
13 lines
182 B
Go
13 lines
182 B
Go
//go:build !ci
|
|
// +build !ci
|
|
|
|
package logger
|
|
|
|
import "fmt"
|
|
|
|
func message(color string, icon Icon, msg ...any) {
|
|
fmt.Print(icon, " ", color)
|
|
fmt.Print(msg...)
|
|
fmt.Println(reset)
|
|
}
|