Add an example to test the logger
Fix yTrace() to print the output