Skip to content

[native_assets_builder] Write logs of build.dart invocations #97

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

Closed
dcharkes opened this issue Jul 19, 2023 · 1 comment · Fixed by #1886
Closed

[native_assets_builder] Write logs of build.dart invocations #97

dcharkes opened this issue Jul 19, 2023 · 1 comment · Fixed by #1886
Assignees
Labels
P3 A lower priority bug or feature request package:hooks_runner

Comments

@dcharkes
Copy link
Collaborator

When invoking build.dart we stream the output to the logger provided by the Dart/Flutter SDK. This logger is likely not in verbose mode, so only errors will be shown. It might be useful to just always write the full stderr and full stdout logs to the build folder so that they can be easily accessed.

@dcharkes dcharkes added P3 A lower priority bug or feature request package:hooks_runner labels Jul 19, 2023
@dcharkes
Copy link
Collaborator Author

Cross referencing logging bugs from Dart Dev and Flutter Tools:

Always writing logs to the output folder will not solve the above issues by themselves, because it will be unclear where the logs are. The logs will likely somewhere similar to .dart_tool/native_assets_builder/<some_hash_of_the_build_config>/stdout.txt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P3 A lower priority bug or feature request package:hooks_runner
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant