set the logging to a certain level. the value passed to this function affects the logging behavior of the logBasic and logVerbose functions.

possible options:

  • { log: undefined }: logging level is unchanged. by default, it starts with "basic".
  • { log: "none" }: no logging occurs (neither logBasic nor logVerbose print anything).
  • { log: "basic" }: basic logging occurs (logBasic prints, but logVerbose does not print).
  • { log: "verbose" }: basic logging + verbose logging occurs (both logBasic and logVerbose print).