Add file logger and fix log level output (#9)
All checks were successful
Build ptprnt / build (push) Successful in 1m45s

Improve logging output

Reviewed-on: #9
This commit is contained in:
2023-11-19 13:27:20 +00:00
parent cd15930e1d
commit d8b70e5d56
8 changed files with 41 additions and 15 deletions

View File

@@ -9,7 +9,8 @@
namespace libusbwrap {
class IUsbDeviceFactory {
public:
virtual std::vector<std::shared_ptr<IUsbDevice>> findAllDevices() = 0;
virtual ~IUsbDeviceFactory() = default;
virtual std::vector<std::shared_ptr<IUsbDevice>> findAllDevices() = 0;
virtual std::vector<std::shared_ptr<IUsbDevice>> findDevices(uint16_t vid, uint16_t pid) = 0;
};
} // namespace libusbwrap