Roman Zaynetdinov
|
f13c3ae898
|
Add option to skip logging specified endpoints
|
2015-07-22 17:02:36 +03:00 |
Manu Mtz-Almeida
|
d6425f1692
|
We do not longer have to call JSON() explicitly
|
2015-06-13 16:42:12 +02:00 |
Manu Mtz-Almeida
|
dde06a07f0
|
Logger only prints internal errors
|
2015-06-06 17:24:16 +02:00 |
Manu Mtz-Almeida
|
48633f7001
|
Better documentation
|
2015-05-29 21:03:41 +02:00 |
Manu Mtz-Almeida
|
2ebb6dcb95
|
Using uint64 for ErrorType
|
2015-05-23 01:59:36 +02:00 |
Manu Mtz-Almeida
|
71bd9f4500
|
New JSON error facilities
|
2015-05-22 04:43:43 +02:00 |
Manu Mtz-Almeida
|
3948dac8c4
|
Cosmetic change in logger()
|
2015-05-14 04:38:33 +02:00 |
Manu Mtz-Almeida
|
99694bb716
|
Fixes errors
|
2015-05-12 15:22:13 +02:00 |
Manu Mtz-Almeida
|
d6771dc4a5
|
Cosmetic changes
|
2015-05-09 03:35:31 +02:00 |
Manu Mtz-Almeida
|
ac0ad2fed8
|
Improves unit tests
|
2015-04-08 02:58:35 +02:00 |
Manu Mtz-Almeida
|
67f8f6bb69
|
Captures the path before any middleware modifies it
|
2015-04-07 23:49:53 +02:00 |
Manu Mtz-Almeida
|
873aecefa9
|
Renames DefaultLogFile to DefaultWriter
|
2015-04-07 23:34:16 +02:00 |
Manu Mtz-Almeida
|
3fce8efcc6
|
Renames LoggerInFile() to LoggerWithFile()
|
2015-04-07 18:56:17 +02:00 |
Manu Mtz-Almeida
|
dcdf7b92f4
|
Error middleware does not write if the it is already written
|
2015-04-07 18:52:33 +02:00 |
Manu Mtz-Almeida
|
6c788a4300
|
Adds default file log option
|
2015-04-07 18:37:17 +02:00 |
Manu Mtz-Almeida
|
48fec0650d
|
Cosmetic changes
|
2015-03-23 06:03:12 +01:00 |
Javier Provecho Fernandez
|
dc0091006b
|
Reorder logger.go imports
|
2015-03-08 14:19:50 +01:00 |
Yasuhiro Matsumoto
|
e769b5dd37
|
colorful logger on windows
|
2015-03-04 13:14:10 +09:00 |
Manu Mtz-Almeida
|
aa7b00a083
|
General refactoring. Part 2.
|
2014-10-09 01:40:42 +02:00 |
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 |