In Chrome, there is the option is Console Settings (Developer Tools -> Console -> Settings [upper-right corner] ) named "Show timestamps" which is exactly what I needed.(在Chrome中,有一个选项是控制台设置(开发人员工具 - >控制台 - >设置[右上角]),名为“显示时间戳”,这正是我所需要的。)
I've just found it.(我刚发现它。)
No other dirty hacks needed that destroys placeholders and erases place in the code where the messages was logged from.(没有其他脏的黑客需要破坏占位符并删除记录消息的代码中的位置。)
Update for Chrome 68+(Chrome 68+更新)
The "Show timestamps" setting has been moved to the Preferences pane of the "DevTools settings", found in the upper-right corner of the DevTools drawer:(“显示时间戳”设置已移至“DevTools设置”的“首选项”窗格,该窗格位于DevTools抽屉的右上角:)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…