middleware/logger/logger.js
function() {
    var data, json, log = accessLogFormat.call(self, this.request, this, app);
    if (format == 'json') {
      log = app.applyFilters('access_log_data', log, this.request, app);
      json = JSON.stringify(log);
      data = [log, json]; // msg (object), log (text)
      app.emit('access_log', json, data, log);
    } else {
      data = [log, log];
      app.emit('access_log', log, data);
    }
  }
function() {
    var data, json, log = accessLogFormat.call(self, this.request, this, app);
    if (format == 'json') {
      log = app.applyFilters('access_log_data', log, this.request, app);
      json = JSON.stringify(log);
      data = [log, json]; // msg (object), log (text)
      app.emit('access_log', json, data, log);
    } else {
      data = [log, log];
      app.emit('access_log', log, data);
    }
  }
function ( ) { var data , json , log = accessLogFormat . call ( self , this . request , this , app ) ; if ( format == 'json' ) { log = app . applyFilters ( 'access_log_data' , log , this . request , app ) ; json = JSON . stringify ( log ) ; data = [ log , json ] ; // msg (object), log (text) app . emit ( 'access_log' , json , data , log ) ; } else { data = [ log , log ] ; app . emit ( 'access_log' , log , data ) ; } }
Access Log Callback
Access Log Callback