mynewt.h: Include generated `logcfg/logcfg.h` file
Modify `mynewt.h` to take advantage of the new logcfg newt feature.
Now, `mynewt.h` includes the generated logcfg header.
#include "defs/error.h"
#include "sys/debug_panic.h"
+/* Only include the logcfg header if this version of newt can generate it. */
+#if MYNEWT_VAL(NEWT_FEATURE_LOGCFG)
+#include "logcfg/logcfg.h"
+#endif
+
#endif
