code: def emit(self, record):
          
          try:
              if self.check_base_filename(record):
                  self.build_base_filename()
              FileHandler.emit(self, record)
          except (KeyboardInterrupt, SystemExit):
              raise
          except:
              self.handleError(record)
docs: Emit a record.
  
          Always check time