|
5a9558d0a3
|
Merge remote-tracking branch 'origin/v3' into v3
# Conflicts:
# client/noop.go
# errors/errors_test.go
# logger/unwrap/unwrap_test.go
# register/memory/memory_test.go
# server/noop_test.go
# service.go
# util/dns/cache.go
# util/dns/conn.go
# util/structfs/metadata_ec2.go
# util/time/duration.go
|
2024-12-09 13:18:13 +03:00 |
|
|
9d6a44b783
|
fixed struct alignment && refactor linter
lint / lint (pull_request) Has been cancelled
pr / test (pull_request) Has been cancelled
|
2024-12-09 13:07:01 +03:00 |
|
|
d9b822deff
|
logger/slog: add ability to pass func that creates slog.Handler compatible interface
test / test (push) Successful in 42s
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2024-12-07 16:16:45 +03:00 |
|
|
0e66688f8f
|
logger/slog: add option to pass slog.Handler
test / test (push) Successful in 45s
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2024-12-07 14:19:29 +03:00 |
|
|
9704ef2e5e
|
fix pipeline (#365)
Co-authored-by: Aleksandr Tolstikhin <atolstikhin@mtsbank.ru>
Reviewed-on: #365
Co-authored-by: Vasiliy Tolstov <v.tolstov@unistack.org>
Co-committed-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2024-12-06 19:05:27 +03:00 |
|
|
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 |
|
|
62074965ee
|
close #329
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2024-05-09 16:41:22 +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 |
|
|
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 |
|