Skip to content

Commit

Permalink
Add missing include to celix_log_control.h
Browse files Browse the repository at this point in the history
  • Loading branch information
pnoltes committed Oct 5, 2024
1 parent f0835a5 commit 2cd2652
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bundles/logging/log_admin/gtest/src/LogAdminTestSuite.cc
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,7 @@ TEST_F(LogAdminTestSuite, LogServiceWithConfigPropertyTest) {
}

TEST_F(LogAdminTestSuite, LogSinkWithConfigPropertyTest) {
// Given a fw with a config property that set the active log level of a log service to fatal
// Given a fw with a config property that enables the log sink foo and disables all other sinks
auto fw = celix::createFramework({
{CELIX_FRAMEWORK_CACHE_DIR, ".cacheLogAdminTestSuiteWithConfig"},
{"CELIX_LOG_ADMIN_LOG_SINKS_DEFAULT_ENABLED", "false"},
Expand Down
2 changes: 1 addition & 1 deletion bundles/logging/log_admin/src/celix_log_admin.c
Original file line number Diff line number Diff line change
Expand Up @@ -826,4 +826,4 @@ void celix_logAdmin_destroy(celix_log_admin_t *admin) {
celixThreadRwlock_destroy(&admin->lock);
free(admin);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#include <stdbool.h>
#include <stddef.h>
#include "celix_log_level.h"
#include "celix_array_list_type.h"

#ifdef __cplusplus
extern "C" {
Expand Down

0 comments on commit 2cd2652

Please sign in to comment.