Lines Matching refs:Logger
19 class Logger(object): class
31 elif color == Logger.Color.Blue:
33 elif color == Logger.Color.Gray:
35 elif color == Logger.Color.Purple:
37 elif color == Logger.Color.Red:
39 elif color == Logger.Color.Green:
48 if level <= Logger.Verbosity:
49 text = Logger.Color.terminalCode(color, out) + text + \
50 Logger.Color.terminalCode(Logger.Color.Default, out)
59 Logger.log("error: ", Logger.Level.Error, color=Logger.Color.Red, newLine=False, out=sys.stderr)
60 Logger.log(msg, Logger.Level.Error, out=sys.stderr)
70 Logger.log(loc, Logger.Level.Error, color=Logger.Color.Gray, newLine=False, out=sys.stderr)
71 Logger.log(lineText, Logger.Level.Error, out=sys.stderr)
80 Logger.log(var, Logger.Level.Error, color=Logger.Color.Green, newLine=False, out=sys.stderr)
81 Logger.log(padding, Logger.Level.Error, newLine=False, out=sys.stderr)
82 Logger.log(" = ", Logger.Level.Error, newLine=False, out=sys.stderr)
83 Logger.log(variables[var], Logger.Level.Error, out=sys.stderr)
89 Logger.log("TEST ", color=Logger.Color.Purple, newLine=False)
90 Logger.log(name + "... ", newLine=False)
94 Logger.log("PASS", color=Logger.Color.Blue)
98 Logger.log("FAIL", color=Logger.Color.Red)
99 Logger.fail(msg, assertion.fileName, assertion.lineNo, assertion.originalText, variables)