1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-22 12:50:55 +00:00

beego: change the colour

This commit is contained in:
astaxie 2014-08-20 11:54:25 +08:00
parent aaabeff44f
commit 7f977a0c8c
2 changed files with 3 additions and 3 deletions

View File

@ -38,8 +38,8 @@ var colors = []Brush{
NewBrush("1;31"), // Error red NewBrush("1;31"), // Error red
NewBrush("1;33"), // Warning yellow NewBrush("1;33"), // Warning yellow
NewBrush("1;32"), // Notice green NewBrush("1;32"), // Notice green
NewBrush("1;34"), // Informational green NewBrush("1;34"), // Informational blue
NewBrush("1;30"), // Debug black NewBrush("1;34"), // Debug blue
} }
// ConsoleWriter implements LoggerInterface and writes messages to terminal. // ConsoleWriter implements LoggerInterface and writes messages to terminal.

View File

@ -783,7 +783,7 @@ Admin:
} else { } else {
devinfo = fmt.Sprintf("| % -10s | % -40s | % -16s | % -10s |", r.Method, r.URL.Path, timeend.String(), "notmatch") devinfo = fmt.Sprintf("| % -10s | % -40s | % -16s | % -10s |", r.Method, r.URL.Path, timeend.String(), "notmatch")
} }
Info(devinfo) Debug(devinfo)
} }
// Call WriteHeader if status code has been set changed // Call WriteHeader if status code has been set changed