On Tue, Mar 6, 2012 at 11:59 AM, Leandro Pereira <lean...@profusion.mobi> wrote:
>
> On 03/06/2012 07:48 AM, Gustavo Sverzut Barbieri wrote:
> > Can't you change it so it does know? and use
> >
> > http://docs.enlightenment.org/auto/eina/group__Eina__Log__Group.html#ga2ad47c77225cbcf8d35840547b5bbbe4
>
> It is already working. What wasn't working were that imported JavaScript
> modules didn't set their file names, so that error messages were printed
> as happening on file "undefined".

>From your example:

    ERR<11319>:elev8 elev8_utils.cc:60 boom() ./app.js:12 TypeError:
Object [object Object] has no method 'derp'

In my opinion it should be:

    ERR<11319>:elev8 ./app.js:12 jsfunc() TypeError: Object [object
Object] has no method 'derp'


did you understand what I mean? you provide JS values for file,
function and line to eina_log_print().

--
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--------------------------------------
MSN: barbi...@gmail.com
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to