Extended loggable to use types for values

This should fix issue #986.
instead of doing an instanceof on the EventAdapter, a new method should be added in the LoggableAdapter instead