Skip to content

rosbit/color-log

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple color log

Install

The package is fully go-getable, so, just type

go get github.com/rosbit/color-log

to install.

Usage

package main

import (
  "github.com/rosbit/color-log"
)

func main() {
	clog.Info("info message")
	clog.Infof("%s", "info message")
	clog.Warn("warn message")
	clog.Warnf("%s", "warn message")
	clog.Error("error message")
	clog.Errorf("%s", "error message")
}

Test

test

About

output message with color simplely

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages