mirror of
https://github.com/retailcrm/mg-transport-core.git
synced 2025-04-04 05:43:33 +03:00
add more predetermined log keys
This commit is contained in:
parent
2d1b2351ee
commit
b97f05e666
1 changed files with 3 additions and 0 deletions
|
@ -9,6 +9,9 @@ const (
|
|||
CounterIDAttr = "counterId"
|
||||
ErrorAttr = "error"
|
||||
FailureMessageAttr = "failureMessage"
|
||||
HTTPMethodAttr = "httpMethod"
|
||||
HTTPStatusAttr = "httpStatusCode"
|
||||
HTTPStatusNameAttr = "httpStatusName"
|
||||
)
|
||||
|
||||
func ErrAttr(err any) slog.Attr {
|
||||
|
|
Loading…
Add table
Reference in a new issue