Manu Mtz-Almeida
|
b4a6510edf
|
Enables colored tag for http method in gin.Logger()
|
2014-09-13 15:51:29 +02:00 |
Damon Zhao
|
953c589b32
|
change %4s to %-7s for align
|
2014-09-13 12:40:37 +08:00 |
Damon Zhao
|
6634f04d9b
|
(feature)add http method log-color,like http response status code
|
2014-09-05 15:53:53 +08:00 |
Manu Mtz-Almeida
|
8e5397bfa0
|
Adds in-code license
|
2014-08-29 19:49:50 +02:00 |
Manu Mtz-Almeida
|
dcafad3ced
|
Deferring WriteHeader. Part 1
|
2014-08-18 05:24:48 +02:00 |
Manu Mtz-Almeida
|
78c7101ff6
|
Check existence of X-Forwarded-For by comparing the length
|
2014-08-18 04:52:01 +02:00 |
Manu Mtz-Almeida
|
f63a354b40
|
Normal log and error log are printed in the same call.
|
2014-07-13 00:18:33 +02:00 |
Manu Mtz-Almeida
|
2078ecd8e1
|
Renaming Context.Req to Context.Request
|
2014-07-08 16:57:04 +02:00 |
Dmitry Sedykh
|
9880758ddb
|
No repeat call c.Writer.Status()
|
2014-07-08 16:07:59 +04:00 |
Manu Mtz-Almeida
|
25e7330e65
|
Merge branch 'sync_pool' into develop
Conflicts:
logger.go
|
2014-07-08 01:13:52 +02:00 |
Manu Mtz-Almeida
|
3295c6e9c4
|
Improves error management
|
2014-07-08 00:16:41 +02:00 |
Manu Mtz-Almeida
|
b5ddd484de
|
Timestamp is calculated once
|
2014-07-07 03:04:06 +02:00 |
Manu Mtz-Almeida
|
3e4033673e
|
Using sync.Pool instead of a channel
|
2014-07-06 21:09:23 +02:00 |
Manu Mtz-Almeida
|
c1775e85cc
|
Adds source IP in built-in logger
|
2014-07-06 18:26:40 +02:00 |
Manu Mtz-Almeida
|
027341c80b
|
Adds cache pressure in logger
|
2014-07-05 19:31:26 +02:00 |
Manu Mtz-Almeida
|
78536abb58
|
Better logger
- Includes http method
- Includes coloured status code
- Better formatting
|
2014-07-04 00:25:12 +02:00 |
Manu Mtz-Almeida
|
f72fcdf5ba
|
Improves error log formatting
|
2014-07-02 02:31:11 +02:00 |
Manu Mtz-Almeida
|
bf1ecfcf70
|
Changes behaviour of ErrorLogger() and Logger()
|
2014-06-30 04:04:45 +02:00 |
Manu Mtz-Almeida
|
40dc444270
|
Renames ErrorRender() to ErrorLogger()
|
2014-06-30 03:59:21 +02:00 |
Manu Mtz-Almeida
|
1565111274
|
Fixes routing bug
|
2014-06-30 03:59:00 +02:00 |
Manu Mtz-Almeida
|
15216a0883
|
Initial commit
|
2014-06-18 01:42:34 +02:00 |