mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 18:20:54 +00:00
beego: change the colour
This commit is contained in:
parent
aaabeff44f
commit
7f977a0c8c
@ -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.
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user