add structured messages by logging a dict.
change default level to debug
Merge pull request #2 from Labgoo/add-structured-logs

add structured messages by logging a dict.