aruhi
1827916e76
Add cookie tag for logger ( #921 )
...
Thanks for your contribution 🎉
2017-05-08 08:10:11 -07:00
Vishal Rana
4b4a09fd31
Using random.String() for generating id
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-03-06 13:39:36 -08:00
Yusuke Komatsu
d3d0ee6527
add id (Request ID) in logger format.
2017-03-06 13:39:36 -08:00
Vishal Rana
29fd5831ff
Fixed test
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-02-22 15:57:12 -08:00
Vishal Rana
f56450d8ce
Fixed #821
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-01-12 09:09:51 -08:00
Vishal Rana
ce6b1e20db
Logger middleware interface ( #820 )
...
* Modified logger format
Signed-off-by: Vishal Rana <vr@labstack.com>
* Logger middleware via struct
Signed-off-by: Vishal Rana <vr@labstack.com>
* Fixed time format
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-01-11 20:07:51 -08:00
Antonio Pagano
4f1aef1469
Allows LoggerConfig to add new header, form, path and query tags ( #708 )
...
* [feature] implementing new log configuration tags for headers, form, query and path
* [refactor] merging all tests and removing path from the tags available for the logger
* [doc] updating middleware logger doc
* [tests] adding test cases for the other tags on the logger template
* [cleaning] moving h reference on tests to be a direct assignment given we dont need the reference to h anymore
2016-11-02 13:08:51 -07:00
Vishal Rana
2aec0353f5
First commit to v3, #665
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-09-22 22:56:00 -07:00
Vishal Rana
be825e0229
Refactored variable names
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-24 10:22:15 -07:00
Vishal Rana
ce80fc8ea4
Fixed middleware test cases
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-16 16:02:22 -07:00
Vishal Rana
8b5772cf65
Proper header and MIME constants
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-06 07:29:47 -07:00
Vishal Rana
b5d6c05101
Fixed #441 , #294
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-02 14:24:51 -07:00
Vishal Rana
a66162a3d2
Logging middleware fixes
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-21 17:27:14 -07:00
Vishal Rana
830b4eff3f
Some work on logger middleware
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-18 22:25:11 -07:00
Vishal Rana
569d72cd76
Fixed import cycle
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-06 16:43:47 -08:00
Vishal Rana
e1d789ecbb
Logger as not an interface
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-06 09:52:32 -08:00
Vishal Rana
65fcca2ce3
Middleware interface
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-02-07 23:02:37 -08:00
Vishal Rana
f27de9a804
Fixed logging
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-02-04 19:29:49 -08:00
Vishal Rana
f405794a7c
Now using sync.Pool
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-02-04 14:40:08 -08:00
Vishal Rana
688293b5ed
v2 is compiling now
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-01-28 23:46:11 -08:00
Vishal Rana
72459fe299
Step towards v2
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-12-03 17:23:53 -08:00
Vishal Rana
9650c39055
Bumped to v1.3
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-12-01 15:06:18 -08:00
Vishal Rana
4f996419e1
Fixed #255
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-11-20 19:39:35 -08:00
Vishal Rana
143f563734
Moved code around
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-10-21 15:11:01 -07:00
Mark Bates
b02e78b749
Fixed bug where IP address wasn't showing up in log files. Also added
...
some tests for the Logger middleware.
2015-10-21 16:39:51 -04:00
Ben Huson
799f01a87b
Adding IP Addresses in log entries
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-09-18 11:07:43 -07:00
Vishal Rana
b9eec15c01
More test coverage
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-30 15:20:36 -07:00
Vishal Rana
a9e49e2430
Total coverage for middleware
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-30 10:54:55 -07:00
Vishal Rana
bf85c56b08
Encapsulated fields and exposed public functions.
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-22 04:40:01 -07:00
Vishal Rana
13ac746093
Refactored Echo.HandlerFunc, added WebSocket support.
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-20 14:38:51 -07:00
Vishal Rana
1ee3bc23e3
Added gzip middleware
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-15 12:29:14 -07:00