mirror of
https://github.com/siemens-mobile-hacks/node-serialport-bindings-cpp.git
synced 2026-11-26 02:47:17 +00:00
Removed console.log's
Logging should be part of the library user, not the library itself.
This commit is contained in:
parent
a55705b62d
commit
fb21e8564a
1 changed files with 3 additions and 3 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue