properly bind plugin.log
Merge pull request #33 from wraithgar/emit

properly bind plugin.log