<s> import threading <EOL> import logging <EOL> import time <EOL> from robot . api import logger <EOL> def log_using_robot_api_in_thread ( ) : <EOL> threading . Timer ( <NUM_LIT:0.1> , log_using_robot_api ) . start ( ) <EOL> def log_using_robot_api ( ) : <EOL> for i in range ( <NUM_LIT:100> ) : <EOL> logger . info ( str ( i ) ) <EOL> time . sleep ( <NUM_LIT> ) <EOL> def log_using_logging_module_in_thread ( ) : <EOL> threading . Timer ( <NUM_LIT:0.1> , log_using_logging_module ) . start ( ) <EOL> def log_using_logging_module ( ) : <EOL> for i in range ( <NUM_LIT:100> ) : <EOL> logging . info ( str ( i ) ) <EOL> time . sleep ( <NUM_LIT> ) </s>
