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

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

Open
dcharkes opened this issue Jul 19, 2023 · 1 comment
Open

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

dcharkes opened this issue Jul 19, 2023 · 1 comment
Labels
P3 A lower priority bug or feature request package:native_assets_builder

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:native_assets_builder 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:native_assets_builder
Projects
None yet
Development

No branches or pull requests

1 participant