Shorten logger sample snippet.