title: Can you use macOS "log stream" or "log show" to get messages from connected iOS devices?
body: <p>With the introduction of "Unified Logging" in macOS 10.12 Sierra, one can use the <code>log</code> command to view system log messages in a terminal. For example</p>
  
  <pre><code>sudo log stream
  </code></pre>
  
  <p>or</p>
  
  <pre><code>sudo log stream --process `pgrep -f /usr/local/bin/myprogram` --info --debug
  </code></pre>
  
  <p>or</p>
  
  <pre><code>log show --predicate 'process == "myprogram"' --last 1h --info --debug
  </code></pre>
  
  <p>Using the new "unified" Console.app, one can view system messages and can also view messages from connected iOS devices.</p>
  
  <p>Is there any way to use the <code>log</code> command or any other command-line interface to view iOS device messages in Terminal, or to send them to a file?  Or is Console.app the only way?</p>