WarnIt

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

Specialization of LogIt for warn level messages. Example:

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

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

See also

LogIt

Import from taurus.core.util.log as:

from taurus.core.util.log import WarnIt