Class ControlPanelUrlLogger

java.lang.Object
io.micronaut.controlpanel.core.ControlPanelUrlLogger

@Singleton @Requires(property="micronaut.control-panel.log-url", notEquals="false") public class ControlPanelUrlLogger extends Object
Logs the Control Panel URL when the application is ready.
  • Constructor Details

    • ControlPanelUrlLogger

      public ControlPanelUrlLogger(io.micronaut.http.server.HttpServerConfiguration serverConfiguration, ControlPanelModuleConfiguration controlPanelConfiguration, io.micronaut.runtime.ApplicationConfiguration applicationConfiguration)
  • Method Details

    • logUrl

      @EventListener public void logUrl(io.micronaut.discovery.event.ServiceReadyEvent event)
      Logs the Control Panel URL when the ServiceReadyEvent is triggered.
      Parameters:
      event - the ServiceReadyEvent that triggered this method call