(msg, *args, **kwargs)
Log a message with severity 'CRITICAL' on the root logger. If the logger
    has no handlers, call basicConfig() to add a console handler with a
    pre-defined format.
Log a message with severity 'CRITICAL' on the root logger. If the logger
    has no handlers, call basicConfig() to add a console handler with a
    pre-defined format.
Log a message with severity CRITICAL on the root logger . If the logger has no handlers call basicConfig () to add a console handler with a pre - defined format .
def critical(msg, *args, **kwargs):
    """
    Log a message with severity 'CRITICAL' on the root logger. If the logger
    has no handlers, call basicConfig() to add a console handler with a
    pre-defined format.
    """
    if len(root.handlers) == 0:
        basicConfig()
    root.critical(msg, *args, **kwargs)
def critical ( msg , * args , * * kwargs ) : if len ( root . handlers ) == 0 : basicConfig ( ) root . critical ( msg , * args , * * kwargs )