There are situations when you want to control log printing globally. For those cases, logr has two global options. The option “logr.on” accepts a
FALSE value, and determines whether the logr log is on or off. The option “logr.notes” also accepts a
FALSE value, and determines whether to include notes in the log. Both of these global options will override any local settings.
The following code sample demonstrates how to use these options:
Next: Aliases for log_print()