@property
def level(self):
    'Extract log level if available (lazy).'
    if (not self._level_calculated):
        self._level_calculated = True
        self._extract_level()
    return self._level
Extract log level if available (lazy).
@property
def level(self):
    
    if (not self._level_calculated):
        self._level_calculated = True
        self._extract_level()
    return self._level