Appearance
HVC Web Logger — Endpoints
- Project:
hvc-webLogger· File:Controllers/LogsController.cs
POST /Logs/{target}
Body:
json
{
"template": "User {userId} opened dashboard",
"properties": [ "42" ]
}The template and properties are passed to Log.ForContext(SourceContext, "hippo.web.{target}").Information(...).
target is a free-form label identifying the client (e.g. web, admin).