This section describes how to adapt your Hello World Application by changing an implemented log message ("Hello AUTOSAR Adaptive World") in your application logic.

Adapting the underlying logic of your application is optional.

The logic of the application is stored in the application.cpp inside the <APP_DIR>/app/hello_world/src directory in your delivery.
Step 1: Change the Application Logic
- Open
application.cpp. - Find the
Run()method. 
The
Runmethod is the logic of the application.- If the application is reaching this point and the initialization went well it is reporting the application state
kRunningto theExecutionmanager. - Afterwards the example is printing a log message.
- As a last step the application state
kTerminatingis reported to theExecutionmanager.
- If the application is reaching this point and the initialization went well it is reporting the application state
- Change the text of the
LogInfoinside theRun()method. log_.LogInfo() << "ADD YOUR NEW LOG MESSAGE HERE";

Please ensure that the app terminates if the exit_requested_ member is set to true. For more details, please read the comment in the Run() method.
Step 2: Rebuild the Application
Follow the steps described in Build Application Files to rebuild your application executable with the changes.

As the build process supports incremental builds (where only changed parts are rebuilt), the rebuild of the application is much faster compared to the initial build (described in Build Application Files).
Next step in the tutorial: Install and Run the Application