-
-
Notifications
You must be signed in to change notification settings - Fork 35
feat: split long logs into multiple instead of truncating #177
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
Conversation
@rigor789 will the result of the splitted log be on the same line in the console? Like let s say it is a JSON.stringify which is splitted. Will you be able to copy it, paste it as a correct JSON string?
@rigor789 i am intersted in testing this. Any chance to have an alpha runtime with this?
eb1368e
to
f6282e6
Compare
@farfromrefug once the build finishes you can get the .tgz from the artifacts here: https://github.com/NativeScript/ios/actions/runs/5456662035
Thanks @edusperoni 👍
Uh oh!
There was an error while loading. Please reload this page.
NSLog has a 1024 character limit, and anything beyond is truncated with
<...>
. This PR aims to split longer logs into multipleNSLog
calls when necessary.This is already possible on Android by setting the
maxLogcatObjectSize
boolean under the android key in the config.The goal is to add a similar config option for iOS as well.
Todos:
closes NativeScript/NativeScript#8657