get warning message Robot API code example
Example: robot framework log from python
# ExampleKeywords.py
from robot.api import logger
def write_to_console(s):
logger.console(s)
# ExampleKeywords.py
from robot.api import logger
def write_to_console(s):
logger.console(s)