Check out example codes for "docker mac run debug mode". It will help you in understanding the concepts better.

Code Example 1

$ pred='process matches ".*(ocker|vpnkit).*"
  || (process in {"taskgated-helper", "launchservicesd", "kernel"} && eventMessage contains[c] "docker")'
$ /usr/bin/log stream --style syslog --level=debug --color=always --predicate "$pred"

Learn ReactJs, React Native from akashmittal.com