I would like to add a timestamp for each output in console.
My tool is using selenium and clicks on specific things on a website. when specific events happen (for example see below code block) I would like to print it with a timestamp.
print(f'Bought player: {str_player_name} for {int_player_price}')
print(f'Estimated profit: {int_expected_profit}')
print(f'Player counter {str(int_players_bought)}/{str(int_max_players_bought)}')
I have many prints in my console - is there a way to automatically add a timestamp to each print('')?