Refactor logger
Print log tag in square braces
Fix build
Merge branch 'log'