Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在windows中,一次输出的日志量过大,导致控制台断流,后续也不会在输出任何日志 #9

Open
wolf-hunter404 opened this issue Apr 2, 2024 · 3 comments

Comments

@wolf-hunter404
Copy link

我本地调试,有时候会一次输出很多的数据,所以日志比较长,超过了windows控制台的最大缓冲区,日志就输出不全,倒也没什么关系,但是我发现,只要出现这种情况,后面控制台就不会再输出新的日志了。
这个有什么方法能解决吗?

@wolf-hunter404
Copy link
Author

好像是调整好了,在cout部分增加了endl结尾

@wolf-hunter404
Copy link
Author

不行,加了endl还是会截断,导致后面的新日志无法在控制台打印,请问有什么好的解决方法吗?

@HuaGouFdog
Copy link
Owner

好的,我有时间看一下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants