Login Register

logging

Source code debugging and enabling logging for custom build

We are trying to optimize our dojo code prior to going into production. I have created a custom build and grouped our modules into separate layer files. I am now trying to debug the application with these custom build files as we are seeing problems we didn't see with the files separated.

The following are some of the problems and questions I have for working with “layers” and a custom build. I would appreciate any suggestions from the group.

Logging issue: Can it be disabled?

Hi,

I am working with DoJo quite some time now and I really think that it is great.

However, working some time with DoJo caused me to use console.debug()/console.warn()/... instead of alert() for debugging and logging issues.

I am now wondering if it is possible to deactive the console.debug() output like it can be done with log4j.
It would be also great, if different levels could be (de)activated
(with log4j it is possible to log only error messages... but no debug messaged)

Syndicate content