The secretary took notes on what the boss said.

Literal

Secretary [topic-は] superior [possessive-の] said thing [object-を] wrote-down.

上役 (うわやく) means 'superior, boss.' 書き留める means 'to note down, record in writing' — 書く + 留める.