logger implementation using custom api

This is the change to add logger implementation using freedom 0.5.0 custom api support. 
Yes. I can update this once freedom has a way to support variable arguments.