Logging¶
Méthodes¶
Logging.GetLogEntries¶
CONTROL
Get the LogEntries matching the given filter. "sources": Builtin sources are: "core", "rules", "scripts", "integrations". May be extended by experience plugins. "columns": Columns to be returned. "filter": A map of column:value entries. Only = is supported currently. "startTime": The datetime of the oldest entry, in ms. "endTime": The datetime of the newest entry, in ms. "sampleRate": If given, returns a sampled series of the values, filling in gaps with the previous value. "sortOrder": Sort order of results. Note that this impacts the filling of gaps when resampling. "limit": Maximum amount of entries to be returned. "offset": Offset to be skipped before returning entries.
Paramètres :
| Champ | Type | Notes |
|---|---|---|
columns |
String[] |
optionnel |
endTime |
Uint |
optionnel |
filter |
Variant |
optionnel |
limit |
Int |
optionnel |
offset |
Int |
optionnel |
sampleRate |
SampleRate | optionnel |
sortOrder |
SortOrder | optionnel |
startTime |
Uint |
optionnel |
sources |
String[] |
Retour :
| Champ | Type | Notes |
|---|---|---|
count |
Int |
|
logEntries |
LogEntries | optionnel |
offset |
Int |
Notifications¶
Logging.LogEntryAdded¶
Emitted when a log entry is added. This will only be emitted for discrete series, not for resampled entries
Paramètres :
| Champ | Type | Notes |
|---|---|---|
logEntry |
LogEntry |