MBED TRACE default level is INFO

pull/12682/head
jeromecoutant 2020-03-24 09:26:50 +01:00
parent 5d64e55880
commit 7b0ac0669f
2 changed files with 3 additions and 1 deletions

View File

@ -151,6 +151,8 @@ In Mbed OS, the build time maximum tracing level can be set through `mbed_app.js
} }
``` ```
When max-level is not set by the application, default level is INFO.
### Helping functions ### Helping functions
The purpose of the helping functions is to provide simple conversions, The purpose of the helping functions is to provide simple conversions,

View File

@ -115,7 +115,7 @@ extern "C" {
#define TRACE_LEVEL_CMD 0x01 #define TRACE_LEVEL_CMD 0x01
#ifndef MBED_TRACE_MAX_LEVEL #ifndef MBED_TRACE_MAX_LEVEL
#define MBED_TRACE_MAX_LEVEL TRACE_LEVEL_DEBUG #define MBED_TRACE_MAX_LEVEL TRACE_LEVEL_INFO
#endif #endif
//usage macros: //usage macros: