Better support for logging in console model: global and local