Merge pull request #12682 from jeromecoutant/PR_TRACELEVEL

MBED TRACE default level is INFO
pull/12728/head
Martin Kojtal 2020-03-31 09:28:11 +02:00 committed by GitHub
commit 6cdb44ea38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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
The purpose of the helping functions is to provide simple conversions,

View File

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