In order to do it, a list of OutSystems wrapper actions are avaliable to easily use the Console JavaScript object.
For more info, check this component's documentation.
Open for any feedback :)
Bugs
Breaking Changes