logger implementation using custom api

This is the change to add logger implementation using freedom 0.5.0 custom api support. 
Blob usually refers to a JS Blob type. Here you're returning an ArrayBuffer. Maybe rename to `getLogBuffer` ?