TaskLogs
Last updated
Last updated
Introduction
TheTaskLogs
widget in Supervisely is designed to display task logs for a given task ID.
ℹ️ This widget will display logs only when the application with the widget is released in production. In development mode, a message will be shown:
"You are currently in development mode. Task logs will be displayed only in production mode."
Parameters | Type | Description |
---|---|---|
|
| The task ID to display logs for |
|
| ID of the widget |
The task ID to display logs for.
type: str
default value: None
ID of the widget.
type: str
default value: None
Attributes and Methods | Description |
---|---|
| Get the task ID. |
| Set the task ID. |
You can find this example in our Github repository:
supervisely-ecosystem/ui-widgets-demos/status-elements/005_task_logs/src/main.py
ℹ️ This widget will display logs only when the application with the widget is released in production. In development mode, a message will be shown:
"You are currently in development mode. Task logs will be displayed only in production mode."
TaskLogs
widget we will use in UIor
Button
and InputNumber
widgets to use in demoPrepare a layout for app using Card
widget with the content
parameter and place widget that we've just created in the Container
widget.
Create an app object with layout
parameter.