WarnIt

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

Bases: taurus.core.util.log.LogIt

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