Example of using Logger compile_time_application?

I am trying to use :compile_time_application as Logger option. I wanted to include custom version as part of the application, e.g. myapp:v1.2.3. I can do this in custom log formatter, but I thought it would be better to calculate this value once at compile time and set it using :compile_time_application but this does not work:

# config.exs
config :logger, :console,
  metadata: [:application]

config :logger,
  backends: [:console],
  compile_time_application: :"myapp-v1.2.3"

Logger messages still just say myapp as the application. Is there an example of how to do this? Thank you!