mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-25 17:48:07 +02:00
Fixes and refactors log functionality
This commit is contained in:
parent
ab4f27b272
commit
754e000907
5 changed files with 30 additions and 46 deletions
|
@ -27,11 +27,13 @@
|
|||
//
|
||||
//var EXPORTED_SYMBOLS = ['NetworkManager'];
|
||||
//
|
||||
//function log(aMsg) {
|
||||
// var msg = 'network.js: ' + (aMsg.join ? aMsg.join('') : aMsg);
|
||||
// Services.console.logStringMessage(msg);
|
||||
// // TODO(mack): dump() doesn't seem to work here...
|
||||
// dump(msg + '\n');
|
||||
//var console = {
|
||||
// log: function console_log(aMsg) {
|
||||
// var msg = 'network.js: ' + (aMsg.join ? aMsg.join('') : aMsg);
|
||||
// Services.console.logStringMessage(msg);
|
||||
// // TODO(mack): dump() doesn't seem to work here...
|
||||
// dump(msg + '\n');
|
||||
// }
|
||||
//}
|
||||
//#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue