Interface: LogEntry
Defined in: areas/reports/reports.ts:21
One event in a course's logs, as the logs report lists it.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
activityId? | number | - | areas/reports/reports.ts:36 |
component | string | The component's and the event's names, in the site's language ("Forum", "Course module viewed"). | areas/reports/reports.ts:38 |
context | string | Where it happened, as Moodle names it ("Forum: News"), and the activity when it was one. | areas/reports/reports.ts:35 |
description | string | Moodle's description of the event (in English, as events write it). | areas/reports/reports.ts:41 |
event | string | - | areas/reports/reports.ts:39 |
ip? | string | - | areas/reports/reports.ts:44 |
origin | string | "web", "cli", "ws"… | areas/reports/reports.ts:43 |
realUserId? | number | Who was really logged in, when someone acted logged in as userId. | areas/reports/reports.ts:30 |
relatedUserId? | number | The person the event was about (graded, enrolled, messaged…), when any. | areas/reports/reports.ts:32 |
relatedUserName? | string | - | areas/reports/reports.ts:33 |
time? | string | When it happened (ISO 8601); absent when the site's date format couldn't be read back. | areas/reports/reports.ts:23 |
timeText | string | The time as the report shows it, in the site's language. | areas/reports/reports.ts:25 |
userId? | number | Who did it; none for an event without a user (the system's). | areas/reports/reports.ts:27 |
userName | string | - | areas/reports/reports.ts:28 |