1 /* Startup time example
2 
3    This example code is in the Public Domain (or CC0 licensed, at your option.)
4 
5    Unless required by applicable law or agreed to in writing, this
6    software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
7    CONDITIONS OF ANY KIND, either express or implied.
8 */
9 #include <stdio.h>
10 #include "esp_log.h"
11 
12 static const char *TAG = "example";
13 
14 /* The purpose of this app is to demonstrate fast startup time only, so feel free
15    to replace this app_main() with your own code or copy the sdkconfig.defaults contents
16    into a different project's sdkconfig file.
17 */
app_main(void)18 void app_main(void)
19 {
20     // Calling this function restores all Info-level logging at runtime (as "Log Maximum Verbosity" set to "Info")
21     esp_log_level_set("*", ESP_LOG_INFO);
22     ESP_LOGI(TAG, "App started!");
23 }
24