Logger is a package designed for logging in modular programs specifically, It contains many cool features like colorised logging, different logging levels, etc.
You can use this package to implement logging in your Go program, for any futher help you can check out the documentations.
Note: This library is in the alpha stage yet and doesn't cover every aspect of logging.
You can download the library with the help of standard go get
command.
go get github.com/anonyindian/logger
package main
import (
logger "github.com/anonyindian/logger"
"os"
)
func main() {
log := logger.New(os.Stderr, nil)
log.Println("Hello World")
}
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Licensed Under GNU General Public License v3