If you want to write to the macOS log from a script, you used to be able to use logger. Although it still works, here’s a more flexible alternative.
logger
A friend suspects their partner might be snooping on their Mac. How can they check?
If you want to write to the macOS log from a script, you used to be able to use logger. Although it still works, here’s a more flexible alternative.
A friend suspects their partner might be snooping on their Mac. How can they check?