add Loggable trait

Any object which Loggable trait is mixed-in can be emitted
Merge pull request #8 from choplin/loggable

add Loggable trait