mirror of
https://github.com/retailcrm/mg-transport-core.git
synced 2024-11-22 05:06:04 +03:00
add more predetermined log keys
This commit is contained in:
parent
2d1b2351ee
commit
b97f05e666
@ -9,6 +9,9 @@ const (
|
|||||||
CounterIDAttr = "counterId"
|
CounterIDAttr = "counterId"
|
||||||
ErrorAttr = "error"
|
ErrorAttr = "error"
|
||||||
FailureMessageAttr = "failureMessage"
|
FailureMessageAttr = "failureMessage"
|
||||||
|
HTTPMethodAttr = "httpMethod"
|
||||||
|
HTTPStatusAttr = "httpStatusCode"
|
||||||
|
HTTPStatusNameAttr = "httpStatusName"
|
||||||
)
|
)
|
||||||
|
|
||||||
func ErrAttr(err any) slog.Attr {
|
func ErrAttr(err any) slog.Attr {
|
||||||
|
Loading…
Reference in New Issue
Block a user