Object and array logger based on ES6 Object.observe