Why does log_level have to be a pointer?

Shouldn't a normal value be enough, because its accessed and modified via a pointer to the struct?