0.0.4 • Published 8 years ago

ember-cli-socketio-logger v0.0.4

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

Ember-cli-socketio-logger Travis CI Build Status

This simple ember-cli addon add ability to log socket.io requests inside application.

##Motivation Add access to requests/responses logs while intergration testing with Selenium.

#Configuration

Default configuration is

{
  disabled: false,
  globalName: 'emberCliSocketIOLogger',
}

It's a part of env-config (section 'ember-cli-socketio-logger' in config/environment.js )

module.exports = function(environment) {
  var ENV = {
    modulePrefix: 'dummy',
    environment: environment,
    baseURL: '/',
    locationType: 'auto',
    EmberENV: {
    },

    APP: {

    },

    'ember-cli-socketio-logger': {
      globalName: 'emberCliSocketIOLogger'
    }
  };


  return ENV;
};

Option globalName set the window property which contains logger object.