Skip to content

Commit f5f8b41

Browse files
committed
chore: add logging template to mount
Signed-off-by: Jilay Pandya <jilay.pandya@outlook.com>
1 parent 3da0796 commit f5f8b41

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

app/src/mount/Kconfig

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,8 @@ config MOUNT_THREAD_STACK_SIZE
77
The size of the stack used by the mount thread.
88
The default value is 0x4000 bytes (16kB).
99

10-
endmenu
10+
module = MOUNT
11+
module-str = mount
12+
source "subsys/logging/Kconfig.template.log_config"
13+
14+
endmenu

app/src/mount/Mount.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
#include <zephyr/kernel.h>
44
#include <zephyr/logging/log.h>
5-
LOG_MODULE_REGISTER(Mount);
5+
LOG_MODULE_REGISTER(Mount, CONFIG_MOUNT_LOG_LEVEL);
66

77
Mount::Mount() {
88
LOG_DBG("creating Mount");

0 commit comments

Comments
 (0)