javascript - Console log with color doesn't wrap first line
问题描述
When using a console log with color which is long enough, the line is not wrapped.
Im using chrome as my browser.
console.log('%c' + "Really long line ", "color:red")
vs without color
console.log("Really long line ")
Is it possible to change this behavior ?
解决方案
推荐阅读
- python - 尝试在 Pandas 水平条形图中标记 x 和 y 轴时出错
- android - 意外的响应代码 400 android volley 错误
- python-3.x - 如何转换我的代码的科学记数法?
- java - 为什么eclipse不显示任何信息
- python - 包含应用于数组的真值检查的函数返回错误
- java - 如何在 IntelliJ IDEA 中将选项卡拆分为 2 行?
- c# - 动轴表怎么画
- css - 尽管设置了@media 打印样式,为什么我在打印时会得到额外的行距和/或段落间距?
- python-3.x - 我的代码似乎有什么问题?我遇到了一个错误
- oracle-apex - Oracle APEX 会话和应用程序超时