commit | 7d296964fa141b50fc6a6dc7ab73a4d3d372344d | [log] [tgz] |
---|---|---|
author | Saman <samans@google.com> | Sun Apr 05 21:28:23 2020 +0000 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Sun Apr 05 21:28:23 2020 +0000 |
tree | e571b029afff3c129e31ed0a395cd21c2b5ac451 | |
parent | 83224f66646c3d558666860fca385f2b8fab4f07 [diff] |
[logging] Make fx_log_get_logger() always return a valid pointer It currently only returns null when duping STDERR_FILENO fails but we can avoid the dup altogether by not providing a fd at all and triggering the logger's fallback behaviour. Bug: 49001 Change-Id: I86702b3b1e23b7812d0cb95f5c3e3a7689f85770 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/377391 Testability-Review: Adam Barth <abarth@google.com> Commit-Queue: Saman Sami <samans@google.com> Reviewed-by: Adam Barth <abarth@google.com> Reviewed-by: Adam Perry <adamperry@google.com> API-Review: Adam Barth <abarth@google.com>
Pink + Purple == Fuchsia (a new operating system)
Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.
Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.
See Getting Started.
See fuchsia.dev.