Fix log spacing

This commit is contained in:
2014-07-15 17:50:04 +07:00
parent fbfd5e4727
commit 0c93549fdf
+2 -2
View File
@@ -22,12 +22,12 @@ func Log(format string, args ...interface{}) {
func Debug(format string, args ...interface{}) {
if cfg.Env == "development" {
logger.Printf("[DEBUG]"+format, args...)
logger.Printf("[DEBUG] "+format, args...)
}
}
func Error(err error, format string, args ...interface{}) {
logger.Printf("[ERROR]"+format, args...)
logger.Printf("[ERROR] "+format, args...)
if cfg.Env == "development" {
panic(err)