diff options
Diffstat (limited to 'bin/log')
-rwxr-xr-x | bin/log | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -0,0 +1,12 @@ +#!/bin/sh + +# log +# Stream logs from the application. + +application_name="$( + /usr/libexec/PlistBuddy \ + -c 'Print :CFBundleName' \ + Info.plist +)" + +log stream --predicate "process == '${application_name}'" |