how to print log in run window

I wrote a plugin and I want to print some useful information after the action is executed, like in the screenshot, can someone tell me

 

请先登录再写评论。