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