ErrorIt

digraph inheritancea14f0e1b9b { bgcolor=transparent; rankdir=UD; ratio=compress; size="8.0, 12.0"; "ErrorIt" [URL="#taurus.core.util.log.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,target="_top",tooltip="Specialization of LogIt for error level messages."]; "LogIt" -> "ErrorIt" [arrowsize=0.5,style="setlinewidth(0.5)"]; "LogIt" [URL="taurus.core.util.log-LogIt.html#taurus.core.util.log.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,target="_top",tooltip="A function designed to be a decorator of any method of a Logger"]; }
class ErrorIt(showargs=False, showret=False)[source]

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

Import from taurus.core.util.log as:

from taurus.core.util.log import ErrorIt