开发者

How to post in EXTJS Forums ,To know abt Logging and Exception handling is available !

I need to know, whether extjs 3.1 is available of exception handling and logging build in library .

Like L开发者_如何学JAVAogging the exception as log file , with the specification of error whether it is major or minor or critical or info. new log file creating on specified size exceeded. etc...


There's nothing like that built in. AFAIK, this is not something you'll find in many (any?) JS-based frameworks. Exception handling and logging take a lot of code to do framework-wide (not to mention the added performance overhead), so you'd never want to build that in without some way of extracting it back out for a production build. While possible in theory, this would basically involve writing or extending an existing JS parser that could do so, which would be no small feat.

Re: exception handling, there is some in the framework where it makes sense, but really in any development framework, runtime errors usually bubble up by design. There is often not a good default way to handle an exception (as opposed to an end application which can choose to display the error to the user in some meaningful way). More importantly, since the end user of a framework is you, the developer, you'll want to know immediately about any runtime exceptions in your code (or even in the framework itself for that matter).

Logging is definitely possible (and useful) but you'll have to roll your own as needed.


To post in the ExtJS forums, you'll first need to create a user profile. Then you'll be able to create new topics and post answers to other topics.

I haven't explored the area of exception handling and logging in ExtJS. If bmoeskau visits this question, he might be able to tell you.

By the way, ExtJS is now available in version 3.2 :)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜