+ init : function (config) {
+ var logger = this;
+
+ if (config) {
+ for (property in config) {
+ logger[property] = config[property];
+ }
+ }
+
+ if (!logger.socketIo) {
+ logger.socketIo = ioClient;
+ }
+
+ logger._socket = logger.socketIo.connect(logger.serverUrl);