Fact 1: a seismograph is used for measuring the size of an earthquake. 
Fact 2: Earthquake magnitude is a logarithmic measure of earthquake size.
A seismograph is a logarithmic measure of earthquake magnitude.