Lines Matching defs:level
55 def __init__(self, msg, level=INFO, producer="unknown", msgid=None):
57 self.level = level
88 def __init__(self, tracker=None, level=INFO):
89 self._level = level
119 # setters/getters for log level to allow us to set
128 _("{value} is not a valid level").format(
137 level = property(_get_level, _set_level, _del_level)
142 self.format(LintMessage(message, level=DEBUG, msgid=msgid),
146 self.format(LintMessage(message, level=INFO, msgid=msgid),
150 self.format(LintMessage(message, level=WARNING, msgid=msgid),
154 self.format(LintMessage(message, level=ERROR, msgid=msgid),
158 self.format(LintMessage(message, level=CRITICAL, msgid=msgid),
176 messages at a level >= its log level."""
198 if msg.level >= self._level:
202 # Format the message level and message identifier
203 key = "{0} {1}".format(LEVELS[msg.level], msg.msgid)
242 if msg.level > WARNING: