-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #258 from kivancsikert/logging/fixes
Logging fixes
- Loading branch information
Showing
25 changed files
with
310 additions
and
236 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
#pragma once | ||
|
||
#include <kernel/Named.hpp> | ||
#include <kernel/drivers/MqttDriver.hpp> | ||
#include <kernel/mqtt/MqttRoot.hpp> | ||
|
||
using namespace farmhub::kernel::drivers; | ||
using namespace farmhub::kernel::mqtt; | ||
|
||
namespace farmhub::kernel { | ||
|
||
class Component : public Named { | ||
protected: | ||
Component(const String& name, shared_ptr<MqttDriver::MqttRoot> mqttRoot) | ||
Component(const String& name, shared_ptr<MqttRoot> mqttRoot) | ||
: Named(name) | ||
, mqttRoot(mqttRoot) { | ||
} | ||
|
||
shared_ptr<MqttDriver::MqttRoot> mqttRoot; | ||
shared_ptr<MqttRoot> mqttRoot; | ||
}; | ||
|
||
} // namespace farmhub::kernel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.