Recognise logger option

Smallest code change ever. Maybe you find it useful, I did when writing a command line based application.