Ext.log function is an empty function

I am trying to use Ext.log , but Ext.log returns an empty function ( function () {} )

I am using ./ext-4.1.1/ext-all-debug.js . I thought that only the production assembly removes the logging functions.

What am I missing?

+4
source share
1 answer

Use ext-all-dev.js instead of ext-all-debug.js and use Ext.log as follows:

 Ext.log({level:'debug'}, 'debug message'); 
+3
source

Source: https://habr.com/ru/post/1434845/


All Articles