1
0
mirror of https://github.com/aclindsa/moneygo.git synced 2024-12-26 23:42:29 -05:00

Update logging format to include source file/line

This commit is contained in:
Aaron Lindsay 2016-02-19 19:59:31 -05:00
parent 48487c230b
commit 9be12a3c7e

View File

@ -50,6 +50,9 @@ func init() {
if !static_dir.IsDir() {
log.Fatal(dir_err_str)
}
// Setup the logging flags to be printed
log.SetFlags(log.Ldate | log.Ltime | log.Lshortfile)
}
func rootHandler(w http.ResponseWriter, r *http.Request) {