# Events and Logs
# Logs
In the working session, you can send logs that will be recorded in the current session. To do this, send to POST on http://api.devdebugger.com/workspaces/{uuid}/
with the key log
. Example:
{
...,
"logger": {
"log": [
{ "ts": "965160000", "level": "I", "data": "running"},
{ "ts": "1020210440", "level": "W", "data": "func not work"},
]
}
}
You do not need to load all the logs, every new logs will be added to the previous ones.
Name | Type | Description | Required |
---|---|---|---|
ts | string | Time point. Timestamp. Max 16 symbols. | true |
tag | string | false | |
data | string | Text for view | true |
level | enum | One of ["V", "D", "I", "M", "W", "E", "R", "F"]* | true |
color | string | Text color | false |
- Abbreviations from
- V - Verbose
- D - Debug
- I - Info
- M - Message
- W - Warning
- E - Error
- R - Release
- F - Fatal