diff --git a/doorlockd/door.cpp b/doorlockd/door.cpp index 4b00baf..35ceb17 100644 --- a/doorlockd/door.cpp +++ b/doorlockd/door.cpp @@ -85,6 +85,7 @@ void Door::unlock() if (!digitalRead(_LOCKPIN)) { std::thread([this] () { + _l(LogLevel::info, "Incoming door close request on button press"); lock(); }).detach(); }