Skip to content

Commit 6cdb44e

Browse files
authored
Merge pull request #12682 from jeromecoutant/PR_TRACELEVEL
MBED TRACE default level is INFO
2 parents eb2457f + 7b0ac06 commit 6cdb44e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

features/frameworks/mbed-trace/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,8 @@ In Mbed OS, the build time maximum tracing level can be set through `mbed_app.js
151151
}
152152
```
153153

154+
When max-level is not set by the application, default level is INFO.
155+
154156
### Helping functions
155157

156158
The purpose of the helping functions is to provide simple conversions,

features/frameworks/mbed-trace/mbed-trace/mbed_trace.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ extern "C" {
115115
#define TRACE_LEVEL_CMD 0x01
116116

117117
#ifndef MBED_TRACE_MAX_LEVEL
118-
#define MBED_TRACE_MAX_LEVEL TRACE_LEVEL_DEBUG
118+
#define MBED_TRACE_MAX_LEVEL TRACE_LEVEL_INFO
119119
#endif
120120

121121
//usage macros:

0 commit comments

Comments
 (0)