Add log.
Path Parameters
level*string
Value in
"debug" | "info" | "notice" | "warning" | "error" | "critical" | "alert" | "emergency"Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://loading/activity/logs/debug" \ -H "Content-Type: application/json" \ -d '{ "message": "Emergency message", "context": { "code": 10 } }'{
"message": "success"
}{
"message": "Validation failed",
"errors": {
"message": "This value should not be blank."
}
}{
"message": "Logs rate limit exceeded."
}How is this guide?