Last active
February 23, 2019 13:41
-
-
Save lll-phill-lll/359866750263a5b27bee86813d4c061d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"log" | |
"os" | |
) | |
func main() { | |
loggerInfo := log.New(os.Stdout, "INFO: ", | |
log.Ldate|log.Lmicroseconds|log.Lshortfile) | |
loggerInfo.Println("Something happened!") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment