AngularJS sample showing how to override $log implementation.