Adding memory info logging skeleton for experimentation.

Right now when enabled it just logs to the console of the extension.