💬 Logs with a little bit of flavor
💬 Logs with a little bit of flavor
Verbose just prints logs in a shiny way.
By default, Verbose includes 4 styles.
Verbose also supports declaring your own style in a simple way:
xmas := verbose.Style{
Foreground: 1,
Background: 2,
Text: "Christmas",
Level: 1,
}
To print a message to the log, just call Println
on a style.
verbose.Success.Println("Yay, you just printed your first messages")
verbose.Error.Println("The world is imploding!")
xmas.Println("Merry Christmas!")
Verbose is a go module. You can just run go get to install it.
$ go get -u github.com/willbarkoff/verbose
Contributions are welcome!
In the future, I want to support more detailed log levels, and include more documentation.