src/util/log.js
// The logHandler is synchronous, but it triggers an async writer.
The logHandler is synchronous, but it triggers an async writer.
The logHandler is synchronous but it triggers an async writer .
function fileLogHandler(message, logger, priority) {
      if (logFailed) return;
      var entry = {
        timestamp: mm._.now(),
        origin: logger.origin(),
        priority: priority,
        message: message
      };
      msgQueue.push(entry);
      if (running === 0) {
        mm.Q.fcall(startRunning);
      }
    }
function fileLogHandler ( message , logger , priority ) { if ( logFailed ) return ; var entry = { timestamp : mm . _ . now ( ) , origin : logger . origin ( ) , priority : priority , message : message } ; msgQueue . push ( entry ) ; if ( running === 0 ) { mm . Q . fcall ( startRunning ) ; } }
The logHandler is synchronous, but it triggers an async writer.
The logHandler is synchronous but it triggers an async writer .
/* istanbul ignore next */ // Tested independently.