CriticalIt

Inheritance diagram of CriticalIt
class CriticalIt(showargs=False, showret=False)[source]

Specialization of LogIt for critical level messages. Example:

from taurus.core.util.log import Logger, CriticalIt
class Example(Logger):

    @CriticalIt()
    def go(self):
        print("Hello world")

See also

LogIt

Import from taurus.core.util.log as:

from taurus.core.util.log import CriticalIt