benitogf / coat

go log coating

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

coat

stdout and stderr coating with color, time and muffler included

how to

NewConsole first parameter is the domain or name of the console, second one is the silence option
package main

func main() {
	console := NewConsole("test", false)
    console.Log("coated")
    console.Err("uncoated")
}

About

go log coating


Languages

Language:Go 100.0%