Replace the global log at error - use the InvalidOperationException
code.logAtImportance()