Optimize logging inside of lexer loop
Optimize logging inside of lexer loop

This can change logging behavior if the logging level is changed while
lexing a file. I think this will never occur in practice.

goodmami/penman