Skip to content

Commit

Permalink
log predicate for mac os
Browse files Browse the repository at this point in the history
  • Loading branch information
port19x authored Aug 8, 2024
1 parent c30340f commit c760626
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ani-cli
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ while [ $# -gt 0 ]; do
;;
-l | --logview)
case "$(uname -s)" in
Darwin*) log show --predicate 'eventMessage contains "ani-cli"' --info ;;
Darwin*) log show --predicate 'process == "logger"' ;;
Linux*) journalctl -t ani-cli ;;
*) die "Logger not implemented for your platform" ;;
esac
Expand Down

0 comments on commit c760626

Please sign in to comment.