Skip to content

Gujarats/go-logging

 
 

Repository files navigation

Golang logging library

godoc build

Please see the original readme link here .

Modification

I hate to initialize the log file for debugging purpose. so I create some method and you can just call it like this :

// this will print the debug message with the prefix and the message with spefied format
logging.Debug("prefix", "message")

I also save the debug message in a file called logger.log in the directory where you called this function.

About

Golang logging library

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%