Console logging stopped working in SG 2.5

I can confirm that in SG 2.6 console.log() prints to sg_info.log and console.error() prints to sg_error.log.

I read in another post about sglog. Is this a new public logging function which can be used by developers? In any case console.log() is good for debugging/testing.