TFDi Design Icon
TFDi Design
Plugin Creation GuideLocal API ReferenceLog

Log an item to the smartCARS system log

POST
/api/log
messagestring
levelstring
Value in"info" | "warning" | "success" | "danger"
data?object | string | number | boolean | null

Empty Object

Response Body

curl -X POST "http://localhost:7172/api/log" \  -H "Content-Type: application/json" \  -d '{    "message": "string",    "level": "info"  }'
Empty
Empty