Add logging framework
We have few logging in sao by just calling the console
methods. But this prevents to add much more logging as it has a cost.
So I propose to add a similar/minimal framework for logging which manage level. The developer will have to change the level of logging himself in the browser console.