Golang logging
From wikinotes
Logging is a standardized format of writing progress/debug info.
Example
import "os" import "log" // params: // 1. device you'd like to log to // 2. log-prefix of this logger // 3. log-formatting options // var Logger = log.New(os.Stderr, "", log.Ldate|log.Ltime|log.Lshortfile) func main() { Logger.Println("this is a test") }