Index: device/bluetooth/bluetooth_low_energy_device_mac.h |
diff --git a/device/bluetooth/bluetooth_low_energy_device_mac.h b/device/bluetooth/bluetooth_low_energy_device_mac.h |
index b25bfff5aecc901ecf69e6055aee8140767817b7..0b1aafd2b4f209fb962ebbed73229449047682c0 100644 |
--- a/device/bluetooth/bluetooth_low_energy_device_mac.h |
+++ b/device/bluetooth/bluetooth_low_energy_device_mac.h |
@@ -151,6 +151,11 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothLowEnergyDeviceMac |
DISALLOW_COPY_AND_ASSIGN(BluetoothLowEnergyDeviceMac); |
}; |
+// Stream operator for logging. |
+DEVICE_BLUETOOTH_EXPORT std::ostream& operator<<( |
+ std::ostream& out, |
+ const BluetoothLowEnergyDeviceMac& device); |
+ |
} // namespace device |
#endif // DEVICE_BLUETOOTH_BLUETOOTH_LOW_ENERGY_DEVICE_MAC_H_ |