syncopy.shared.errors.SPYWarning#

syncopy.shared.errors.SPYWarning(msg, caller=None)[source]#

Log a standardized Syncopy warning message.

Note

Depending on the currently active log level, this may or may not produce any output.

Parameters:
  • msg (str) – Warning message to be printed

  • caller (None or str) – Issuer of warning message. If None, name of calling method is automatically fetched and pre-pended to msg.

Returns:

Nothing

Return type:

None