|
115ca6a018
|
logger: add WithAddFields option
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2024-11-29 15:34:02 +03:00 |
|
|
ad19fe2b90
|
logger/slog: fix race condigtion with Enabled and Level
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2024-11-24 23:40:54 +03:00 |
|
|
49055a28ea
|
logger/slog: wrap handler
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2024-11-24 23:28:15 +03:00 |
|
|
d1c6e121c1
|
logger/slog: fix Clone and Fields methods
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2024-11-24 15:31:40 +03:00 |
|
|
929e46c087
|
improve slog
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2024-11-01 00:56:40 +03:00 |
|
|
3bbb0cbc72
|
update slog/logger (#351)
Изменено (методы logger без форматирования):
- Добавлена подготовка и выравнивание аттрибутов для logger
- Выравнивание за счет добавления !BADKEY до процессинга log/slog
- Добавлено переиспользование метода Log
- Удалены методы [Logf, Infof, Debugf, Errorf, Warnf, Fatalf, Tracef]
- Обновлены юниттесты
- Удален wrapper в пакете logger
- Изменен интерфейс logger
- Отрефакторены вызовы logger'a в micro
Co-authored-by: Vasiliy Tolstov <v.tolstov@unistack.org>
Reviewed-on: #351
Co-authored-by: Evstigneev Denis <danteevstigneev@yandex.ru>
Co-committed-by: Evstigneev Denis <danteevstigneev@yandex.ru>
|
2024-10-12 12:37:43 +03:00 |
|
|
1a9236caad
|
update meter options
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2024-09-04 22:41:10 +03:00 |
|
|
35e62fbeb0
|
tracer: add default context attr funcs option
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2024-07-06 00:09:27 +03:00 |
|
|
62074965ee
|
close #329
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2024-05-09 16:41:22 +03:00 |
|
|
c3de003e4a
|
#335 caller skip count. (#337)
Co-authored-by: Gorbunov Kirill Andreevich <kgorbunov@mtsbank.ru>
Reviewed-on: #337
Co-authored-by: Кирилл Горбунов <kirya_gorbunov_2015@mail.ru>
Co-committed-by: Кирилл Горбунов <kirya_gorbunov_2015@mail.ru>
|
2024-04-15 13:30:48 +03:00 |
|
|
5bec0cef03
|
logger/slog: fix slog
pr / test (pull_request) Successful in 1m24s
lint / lint (pull_request) Successful in 10m24s
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2024-03-07 08:19:14 +03:00 |
|
|
1c57127128
|
logger/slog: fix race condition
pr / test (pull_request) Successful in 1m34s
lint / lint (pull_request) Successful in 10m36s
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2024-03-07 07:43:52 +03:00 |
|
|
60e5e42167
|
logger: add TimeFunc option
pr / test (pull_request) Successful in 1m36s
lint / lint (pull_request) Successful in 10m45s
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2024-03-07 00:02:00 +03:00 |
|
|
f62b26eda3
|
fixup interfaces
pr / test (pull_request) Failing after 1m30s
lint / lint (pull_request) Successful in 10m37s
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2024-03-06 18:45:32 +03:00 |
|
|
01e05e8df6
|
tracer and logger improvements
pr / test (pull_request) Failing after 1m27s
lint / lint (pull_request) Successful in 10m33s
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2024-03-06 00:53:20 +03:00 |
|
|
4af2b077dd
|
logger/slog: backport default logger keys from master
pr / test (pull_request) Successful in 1m45s
lint / lint (pull_request) Successful in 10m43s
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2024-03-04 23:58:31 +03:00 |
|
|
2c44550897
|
add missing option
pr / test (pull_request) Successful in 1m46s
lint / lint (pull_request) Successful in 10m49s
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2024-03-04 23:03:55 +03:00 |
|
|
4c7e1607d4
|
logger/slog: add stacktrace support
pr / test (pull_request) Failing after 1m28s
lint / lint (pull_request) Successful in 10m40s
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2024-03-04 22:54:11 +03:00 |
|
|
81b9a4341f
|
logger: extend interface, fix tests
pr / test (pull_request) Successful in 1m35s
lint / lint (pull_request) Successful in 10m40s
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2024-03-04 01:09:08 +03:00 |
|
|
8e2eafde9c
|
logger/slog: fixup race condition
lint / lint (pull_request) Has been cancelled
pr / test (pull_request) Has been cancelled
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2024-02-22 08:57:21 +03:00 |
|
|
c2b97b0f20
|
fixup logger/slog
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2024-02-15 10:01:41 +03:00 |
|
|
debf8cb03d
|
logger/slog: fixup old format
lint / lint (pull_request) Has been cancelled
pr / test (pull_request) Has been cancelled
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2024-02-08 08:43:53 +03:00 |
|
|
930859a537
|
logger/slog: initial import
lint / lint (pull_request) Has been cancelled
pr / test (pull_request) Has been cancelled
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2024-02-08 08:17:53 +03:00 |
|
|
0f343dad0b
|
logger/unwrap: fix for nested tagged/untagged
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2023-02-08 14:54:37 +03:00 |
|
|
9b387312da
|
logger/unwrap: check nested in case of Tagged
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2023-02-06 22:36:24 +03:00 |
|
|
5a554f9f0c
|
fixup
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2023-02-06 18:53:27 +03:00 |
|
|
9c33cbc8e2
|
logger/unwrap: support sql and proto wrapper types
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2023-02-06 18:50:00 +03:00 |
|
|
6cbf23fec5
|
logger/unwrap: fix unwrap format
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2023-02-03 23:33:24 +03:00 |
|
|
cb743cee3f
|
logger: remove wrappers support and OmitLogger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2023-01-30 00:29:49 +03:00 |
|
|
d18952951c
|
fsm: improve and convert to interface
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2023-01-30 00:17:29 +03:00 |
|
|
a7f84e0baa
|
logger: fix Clone
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2023-01-06 22:41:57 +03:00 |
|
|
421842315f
|
logger/unwrap: fix Tagged option
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2022-12-29 23:16:58 +03:00 |
|
|
c7ce238da3
|
fix wrappers
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2022-11-27 00:43:30 +03:00 |
|
|
1374e27531
|
logger/unwrap: add tagged option
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2022-11-19 15:20:42 +03:00 |
|
|
59c08c1d9a
|
logger/unwrap: intergate omit functionality
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2022-11-07 15:56:09 +03:00 |
|
|
ec43cfea6b
|
logger/unwrap: add unwrap method
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2022-10-11 00:30:42 +03:00 |
|
|
4ab7f19ef0
|
logger: improve coverage
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2022-05-03 16:05:36 +03:00 |
|
|
dae3c1170b
|
api: cleanup
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2022-05-03 14:46:03 +03:00 |
|
|
b075230ae5
|
global cleanup
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2022-05-03 14:38:44 +03:00 |
|
|
8b1a579c9d
|
add context tests
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2022-04-17 16:25:42 +03:00 |
|
|
c64218d52c
|
config: add Validate func, small lint fixes
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2022-03-22 14:54:43 +03:00 |
|
|
8546140e22
|
errors: fix parsing
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2022-01-21 19:13:21 +03:00 |
|
|
d8fe2ff8b4
|
add logger context test
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2022-01-20 15:29:21 +03:00 |
|
|
dfd85cd871
|
logger: add logger Fields test
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2022-01-20 00:28:09 +03:00 |
|
|
0354873c3a
|
logger: fix fields
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2022-01-19 19:54:33 +03:00 |
|
|
74765b4c5f
|
many lint fixes
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2022-01-10 16:47:37 +03:00 |
|
|
5eb0e56373
|
move all imports to own domain
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2021-10-02 19:55:07 +03:00 |
|
|
8688179acd
|
lint fixes
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2021-09-30 20:32:59 +03:00 |
|
|
ecb60e4dc5
|
fix lint
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2021-09-28 23:43:43 +03:00 |
|
|
2fbaa26f0f
|
logger: add Clone method
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2021-08-30 16:21:01 +03:00 |
|