if self.isEnabledFor(CRITICAL):
self._log(CRITICAL, msg, args, **kwargs)
- fatal = critical
+ def fatal(self, msg, *args, **kwargs):
+ """
+ Don't use this method, use critical() instead.
+ """
+ self.critical(msg, *args, **kwargs)
def log(self, level, msg, *args, **kwargs):
"""
basicConfig()
root.critical(msg, *args, **kwargs)
-fatal = critical
+def fatal(msg, *args, **kwargs):
+ """
+ Don't use this function, use critical() instead.
+ """
+ critical(msg, *args, **kwargs)
def error(msg, *args, **kwargs):
"""