where is the location of print statement of MCUBOOT at time of flashing

*** Booting Zephyr OS build zephyr-v3.1.0-3362-g405ebc0cd08b ***
I: Starting bootloader
I: Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
I: Scratch: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
I: Boot source: primary slot
I: Swap type: none
I: Bootloader chainload address offset: 0x40000
I: Jumping to the first image slot
*** Booting Zephyr OS build zephyr-v3.1.0-3362-g405ebc0cd08b ***
king battle from Zephyr on nucleo_f767zi!

Here is output of mcuboot using stm board but I have question related to print starting bootloader, primary image, scratch, boot source, boot swap, where it is coming from means which file  for example king battle is print statement coming from main.c file . same related to above things.

Related