logger implementation using custom api

This is the change to add logger implementation using freedom 0.5.0 custom api support. 
Ignoring this in .ts file and counting on declaration in .d.ts file seems ok. I changed it that way.