ErrorIt

digraph inheritancea14f0e1b9b { bgcolor=transparent; rankdir=UD; ratio=compress; size="8.0, 12.0"; "ErrorIt" [color=dodgerblue1,fillcolor=white,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,tooltip="Specialization of LogIt for error level messages."]; "LogIt" -> "ErrorIt" [arrowsize=0.5,style="setlinewidth(0.5)"]; "LogIt" [color=dodgerblue1,fillcolor=white,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,tooltip="A function designed to be a decorator of any method of a Logger subclass."]; }
class ErrorIt(showargs=False, showret=False)[source]

Bases: taurus.core.util.log.LogIt

Specialization of LogIt for error level messages. Example:

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

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

See also

LogIt