beego: change the colour
Showing
2 changed files
with
3 additions
and
3 deletions
| ... | @@ -38,8 +38,8 @@ var colors = []Brush{ | ... | @@ -38,8 +38,8 @@ var colors = []Brush{ |
| 38 | NewBrush("1;31"), // Error red | 38 | NewBrush("1;31"), // Error red |
| 39 | NewBrush("1;33"), // Warning yellow | 39 | NewBrush("1;33"), // Warning yellow |
| 40 | NewBrush("1;32"), // Notice green | 40 | NewBrush("1;32"), // Notice green |
| 41 | NewBrush("1;34"), // Informational green | 41 | NewBrush("1;34"), // Informational blue |
| 42 | NewBrush("1;30"), // Debug black | 42 | NewBrush("1;34"), // Debug blue |
| 43 | } | 43 | } |
| 44 | 44 | ||
| 45 | // ConsoleWriter implements LoggerInterface and writes messages to terminal. | 45 | // ConsoleWriter implements LoggerInterface and writes messages to terminal. | ... | ... |
| ... | @@ -783,7 +783,7 @@ Admin: | ... | @@ -783,7 +783,7 @@ Admin: |
| 783 | } else { | 783 | } else { |
| 784 | devinfo = fmt.Sprintf("| % -10s | % -40s | % -16s | % -10s |", r.Method, r.URL.Path, timeend.String(), "notmatch") | 784 | devinfo = fmt.Sprintf("| % -10s | % -40s | % -16s | % -10s |", r.Method, r.URL.Path, timeend.String(), "notmatch") |
| 785 | } | 785 | } |
| 786 | Info(devinfo) | 786 | Debug(devinfo) |
| 787 | } | 787 | } |
| 788 | 788 | ||
| 789 | // Call WriteHeader if status code has been set changed | 789 | // Call WriteHeader if status code has been set changed | ... | ... |
-
Please register or sign in to post a comment