Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 1.33 KB

File metadata and controls

35 lines (27 loc) · 1.33 KB

Logger

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.

Go Reference GPLv3 license

Note: This library is in the alpha stage yet and doesn't cover every aspect of logging.

Installation

You can download the library with the help of standard go get command.

go get github.com/anonyindian/logger

Usage

package main
import (
	logger "github.com/anonyindian/logger"
    "os"
)
func main() {
    log := logger.New(os.Stderr, nil)
    log.Println("Hello World")
}

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

GPLv3
Licensed Under GNU General Public License v3