v1

latestSwagger 2.02026-07-13242272.7 KB
Logs

Fetch a log by its ID.

Required permission: logs_read

get/v3/logs/{id}

Path parameters

idstring required

The ID of the log to fetch.

Response

Request for log successful.

idstring

ID of the log.

namestring

Name of the log.

colorstring

Color of the log. The color will always be one of the following (green being the default): green, lightgreen, lime, yellow, orange, deeporange, red, pink, purple, deeppurple, blue, lightblue

environmentNamestring

Environment name this log is in or "Other" if not in an environment. "Other" is chosen over null to mimic the experience in the elmah.io UI.

disabledboolean

Returns true if the log is currently disabled. A log can be disabled either through the API or in the elmah.io UI.