Added an example log function
Porting...logger