Use "%6N" (strftime) to format microseconds.

Hello!
This PR contains tiny refactor for `lib/logger.rb`.
`%6N` - it's a microseconds with leading zeros, just what the doctor ordered. :)