Implement Logger plugin

Tested by Tracy Li <tli@blackberry.com>