Go Package log: Difference between revisions
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
=Internal= | =Internal= | ||
* [[Go Concepts - Standard Library#Packages| | * [[Go Concepts - Standard Library#Packages|Standard Library]] | ||
=Recipes= | =Recipes= |
Revision as of 16:59, 2 April 2016
External
Internal
Recipes
Changing the Logging Device
import ( "log" "os" ) ... func init() { // change the device for logging to stdout log.SetOutput(os.Stdout) }