def METHOD_NAME(self, msg, level):
    """
    Append ``msg`` to the log if ``level`` is lower than configured log level.
    Args:
        msg (str):      message line that should be added to the log
        level (int):    verbosity level of current line. msg will only be
                        added to log if level is lower than configured
                        log level :py:func:`config.Config.logLevel`.
                        Possible Values:
                        :py:data:`SnapshotLog.ERRORS`,
                        :py:data:`SnapshotLog.CHANGES_AND_ERRORS` or
                        :py:data:`SnapshotLog.ALL`
    """
    if level > self.logLevel:
        return
    if not self.logFile:
        self.logFile = open(self.logFileName, 'at')
    self.logFile.write(msg + '\n')
    self.timer.start(5)  # flush the log output buffer after 5 seconds