View Full Version : Quick question about Ext.log()

14 Aug 2012, 6:10 AM
We've experimented with using the Ext.log() facility over the console.log -- but stumbled into something we can't quite understand.

From the Firebug console:

>>> Ext.log('hello world');


hello world ext-all-dev.js (line 11105)

I've traced into the ext-all-dev.js source code, and it appears to originate from line 11117, and is a call to 'con.trace()'. I'm not sure understand what's going on here -- can anyone shed light on why we always get a two line output, with the second line being undefined?

Not a big deal...just trying to understand the toolset.


14 Aug 2012, 7:03 AM
This is a quirk of firebug, it logs the result of running Ext.log which is undefined. Not much to do about it...

14 Aug 2012, 9:09 AM
Thanks for the heads up.