• Chris Bracken's avatar
    Migrate to os_log for reading iOS simulator logs (#12079) · dd7e3133
    Chris Bracken authored
    1. Migrate simulator device log tailing to os_log toolchain
    2. When the log tag (component) is available (iOS 11/Xcode 9), filter to
       the set of log lines with tag 'Flutter'.
    
    As of iOS 11 / Xcode 9, Flutter engine logs are no longer recorded in the
    simulator's syslog file, which we previously read using tail -f. Instead
    they're now accessible through Apple's new macOS/iOS os_log facility,
    via /usr/bin/log, which supports a relatively flexible query language.
    
    When run in non-interactive mode, /usr/bin/log buffers its output in 4k
    chunks, which is significantly smaller than what's emitted up to the
    point where the observatory/diagnostics port information is logged. As a
    workaround we force it to run in interactive mode via the script tool.
    dd7e3133
Name
Last commit
Last update
.idea Loading commit data...
bin Loading commit data...
dev Loading commit data...
examples Loading commit data...
packages Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
ISSUE_TEMPLATE.md Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
VERSION Loading commit data...
analysis_options.yaml Loading commit data...
analysis_options_repo.yaml Loading commit data...
appveyor.yml Loading commit data...