Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#840 closed defect (duplicate)

dojo.logging.Logger minor correction to allow logging in browser :)

Reported by: jkuhnert@… Owned by: anonymous
Priority: high Milestone:
Component: Core Version: 0.3
Keywords: Cc: ticket #841
Blocked By: Blocking:

Description

The dojo.logging.logQueueHandler.emit function has a check to see if dojo is defined: if(!dj_undef("debug", dj_global)){

dojo.debug(logStr);

}else if((typeof dj_globalprint? == "function")&&(!dojo.render.html.capable)){

print(logStr);

}

For whatever reason dj_global doesn't actually point to the dojo object, so changing that to dojo fixed it. The line above it references dojo.log.getLevelName() anyways so we're pretty fucked already if dojo doesn't exist :)

Change History (2)

comment:1 Changed 13 years ago by jkuhnert@…

Cc: ticket #841 added
Resolution: duplicate
Status: newclosed

comment:2 Changed 12 years ago by (none)

Milestone: 0.4

Milestone 0.4 deleted

Note: See TracTickets for help on using tickets.