|
980b772801
|
fix races in web and logger (#1576)
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2020-04-26 17:41:36 +03:00 |
|
|
a22da39e1c
|
logger: add caller info to default implementation (#1575)
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2020-04-26 17:11:53 +03:00 |
|
|
beaa434610
|
logger: fix reading env var (#1414)
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2020-03-25 22:00:43 +00:00 |
|
|
3543b275e0
|
fix log level helper (#1342)
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2020-03-13 17:36:42 +03:00 |
|
|
7b385bf163
|
minimize allocations in logger and tunnel code (#1323)
* logs alloc
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* fix allocs
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* fix allocs
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* tunnel allocs
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* try to fix tunnel
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* cache cipher for send
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* more logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* more logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* more logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* more logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* more logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* more logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* more logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2020-03-11 17:55:39 +00:00 |
|
|
241614ff68
|
add helper function to determine logger level (#1321)
* add helper function to determine logger level
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2020-03-09 23:43:05 +03:00 |
|
ben-toogood
|
e3ce45495a
|
os.Exit on log.Fatal (#1316)
* os.Exit on log.Fatal
* Fix TestOptions
Co-authored-by: Ben Toogood <ben@micro.mu>
|
2020-03-09 09:23:42 +00:00 |
|
ben-toogood
|
9386f36a13
|
Exit on log.Fatal (#1297)
|
2020-03-04 13:46:01 +00:00 |
|
|
89ba602e17
|
logger fixes and improvements (#1285)
* fix helper fields
* add metadata output for default logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2020-03-03 11:07:37 +03:00 |
|
|
b555269b1b
|
copy fields in helper (#1281)
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2020-03-02 14:18:36 +00:00 |
|
|
6b8930a960
|
add new helper method to logger (#1273)
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2020-02-29 00:39:41 +00:00 |
|
|
d0a978bd50
|
redesign logger (#1272)
* redesign logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2020-02-29 03:31:59 +03:00 |
|
|
64a5ce9607
|
various fixes (#1267)
* logger: remove Panic log level
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* server/grpc: add missing Unlock in Subscribe error
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* server: minor code change
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* server/grpc: extend test suite with pub/sub testing
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* server/grpc: fix invalid check and allow subscriber error to be returned
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* server/grpc: add pubsub tests
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* client/grpc: check for nil req/rsp
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2020-02-26 18:34:40 +00:00 |
|
Eric
|
53c3bff819
|
add Panic & Panicf to logger (#1258)
* add Panic & Panicf to logger
|
2020-02-25 17:44:29 +03:00 |
|
|
cf0b39eaac
|
logger fixes (#1244)
* logger: fix race conditions
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* restore util/log for compatibility
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2020-02-24 13:07:40 +00:00 |
|
|
117f56ebf7
|
prune util/log and user logger (#1237)
* prune util/log and user logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* plaintext logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* add newline
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2020-02-23 13:45:20 +00:00 |
|
Asim Aslam
|
116855572b
|
Add log level helper funtions (#1229)
|
2020-02-21 08:43:23 +00:00 |
|
Asim Aslam
|
ee977acfef
|
strip SetGlobalLevel (#1228)
|
2020-02-21 08:28:21 +00:00 |
|
Sumanth Chinthagunta
|
3fa7c26946
|
logger with helper methods (#1216)
* support unix daemon socket
* refactor(logger): logger fields changed to map[string]interface{}
* improvement(logger): adding string to Level Parser
* improvement(logger): rename ParseLevel to GetLevel
* refactor(logger): adding basic logger
adding micro default logger, and refactor logger interface
* refactor(logger): moved basic logger to top level package
* refactor(logger): adding default logger
|
2020-02-21 07:57:59 +00:00 |
|
Asim Aslam
|
78df154a4d
|
move log level setting to option (#1222)
|
2020-02-20 08:26:12 +00:00 |
|
Sumanth Chinthagunta
|
fc5339a368
|
[W.I.P] refactor(logger): logger fields changed to map[string]interface{} (#1198)
* support unix daemon socket
* refactor(logger): logger fields changed to map[string]interface{}
* improvement(logger): adding string to Level Parser
* improvement(logger): rename ParseLevel to GetLevel
|
2020-02-15 18:19:28 +00:00 |
|
|
c706afcf04
|
logger helper to pass down it via context (#1180)
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2020-02-09 21:26:46 +00:00 |
|
Asim Aslam
|
0e9b4c26a4
|
import with braces
|
2020-02-06 21:39:08 +00:00 |
|
Asim Aslam
|
d40b13a045
|
mux to mtx
|
2020-02-06 21:37:17 +00:00 |
|
Asim Aslam
|
4079b22c1e
|
reorder logger methods
|
2020-02-06 21:36:33 +00:00 |
|
Shu xian
|
fdfb2bc4c1
|
[WIP] logger first (#1161)
* logger first
* log->logger
* update comment
* add context in Options
* add Fields
* remove logfi
* add field encode
* add common Field Types
* update logger field
|
2020-02-06 21:35:46 +00:00 |
|