Go Package log
Jump to navigation
Jump to search
External
Internal
Recipes
Changing the Logging Device
import ( "log" "os" ) ... func init() { // change the device for logging to stdout log.SetOutput(os.Stdout) }
import ( "log" "os" ) ... func init() { // change the device for logging to stdout log.SetOutput(os.Stdout) }