ember-cli-socketio-logger
v0.0.4
Published
Ember-cli addon to log socket.io request while intergration testing (with Selenium or some other tools )
Downloads
5
Maintainers
Readme
Ember-cli-socketio-logger
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.