SourceHorizon / logger

Small, easy to use and extensible logger which prints beautiful logs.
https://pub.dev/packages/logger
MIT License
197 stars 33 forks source link

When the data is printed, the style is truncated #46

Closed laterdayi closed 10 months ago

laterdayi commented 10 months ago

When the data is printed, the style is truncated 图片

Bungeefan commented 10 months ago

Hi, the style isn't truncated, it just seems that your very long JSON output is just wrapped by your terminal.

You can usually disable so-called "Soft-Wraps" in the editor of your choice. For example, in Android Studio there is a small button besides the output window:

grafik

1284115201 commented 3 months ago

您好,样式没有被截断,只是您的很长的 JSON 输出似乎只是被终端包装了。

您通常可以在您选择的编辑器中禁用所谓的“Soft-Wraps”。 例如,在Android Studio中,除了输出窗口之外还有一个小按钮:

绘图

I also encountered the same problem, but switching to Soft Wraps still persists. I am certain that the text I output is very long and only partial text is displayed

fuadreza commented 3 months ago

This also happen to me. On/Off Softwrap makes no different, some char just got cut.

Bungeefan commented 3 months ago

Hi @1284115201 and @fuadreza! Please have a look at #25 and see if that corresponds to your problem.