mperdeck/jsnlogSimpleWorkingDemos

SCRIPT438: Object doesn't support property or method 'fatalException'

tokorie opened this issue · 1 comments

Seems JsnLog does not infact contain a FataException object, why does the documentation suggest that it does? <--Jsnlog ELMAH

Do you mean the fatalException method as described on:
http://jsnlog.com/Documentation/JSNLogJs/Logger/FatalException

I just tested it again and it worked fine for me. I used this code

    try {
        // ReferenceError: xyz is not defined
        xyz;
    } catch (e) {
        // Log the exception
        JL().fatalException("something went wrong!", e);
    }

I took the code from
http://jsnlog.com/Documentation/GetStartedLogging/ExceptionLogging