Removed console.log's

Logging should be part of the library user, not the library itself.
This commit is contained in:
Linus Wallgren 2015-01-13 12:51:35 +01:00
parent a55705b62d
commit fb21e8564a

View file

@ -397,13 +397,13 @@ function SerialPortFactory() {
try {
factory.SerialPortBinding.close(fd, function (err) {
if (err) {
console.log('Disconnect completed with error:' + err);
// console.log('Disconnect completed with error:' + err);
} else {
console.log('Disconnect completed');
// console.log('Disconnect completed');
}
});
} catch (e) {
console.log('Disconnect failed with exception', e);
// console.log('Disconnect failed with exception', e);
}
self.removeAllListeners();