digraph inheritance21c30a355d {
rankdir=UD;
ratio=compress;
size="8.0, 12.0";
"LogIt" [color=dodgerblue1,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."];
"WarnIt" [color=dodgerblue1,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 warn level messages."];
"LogIt" -> "WarnIt" [arrowsize=0.5,style="setlinewidth(0.5)"];
}
-
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"