Skip to content
This repository was archived by the owner on Dec 9, 2025. It is now read-only.

Additional debug logging#231

Merged
hikinggrass merged 2 commits intomainfrom
feature/additional-debug-logging
Jan 13, 2025
Merged

Additional debug logging#231
hikinggrass merged 2 commits intomainfrom
feature/additional-debug-logging

Conversation

@hikinggrass
Copy link
Member

  • Log module startup time for JavaScript and Python modules as well
  • Log the number of modules started

Signed-off-by: Kai-Uwe Hermann <kai-uwe.hermann@pionix.de>
Signed-off-by: Kai-Uwe Hermann <kai-uwe.hermann@pionix.de>

# Conflicts:
#	src/manager.cpp

Signed-off-by: Kai-Uwe Hermann <kai-uwe.hermann@pionix.de>
@hikinggrass hikinggrass requested a review from a-w50 January 8, 2025 10:08
Comment on lines +32 to +36
const auto end_time = std::chrono::system_clock::now();
EVLOG_info << "Module " << fmt::format(Everest::TERMINAL_STYLE_BLUE, "{}", this->module_id) << " initialized ["
<< std::chrono::duration_cast<std::chrono::milliseconds>(end_time - this->start_time).count()
<< "ms]";

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure why this function needs to be defined in the header, should probably move to a cpp file.

@hikinggrass hikinggrass merged commit ac8872b into main Jan 13, 2025
5 checks passed
@hikinggrass hikinggrass deleted the feature/additional-debug-logging branch January 13, 2025 10:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants