Class LoggersControlPanel

java.lang.Object
io.micronaut.controlpanel.core.AbstractControlPanel<io.micronaut.controlpanel.panels.management.LoggersControlPanel.Body>
io.micronaut.controlpanel.panels.management.LoggersControlPanel
All Implemented Interfaces:
ConfigurableControlPanel, ControlPanel<io.micronaut.controlpanel.panels.management.LoggersControlPanel.Body>, io.micronaut.core.naming.Named, io.micronaut.core.order.Ordered, io.micronaut.core.util.Toggleable

@Singleton @Requires(beans={io.micronaut.management.endpoint.loggers.LoggersEndpoint.class,io.micronaut.management.endpoint.loggers.ManagedLoggingSystem.class}) @Requires(property="micronaut.control-panel.panels.loggers.enabled",notEquals="false") public class LoggersControlPanel extends AbstractControlPanel<io.micronaut.controlpanel.panels.management.LoggersControlPanel.Body>
Control panel that displays information about the application loggers.
Since:
1.0.0
Author:
Álvaro Sánchez-Mariscal
  • Field Details

  • Constructor Details

    • LoggersControlPanel

      public LoggersControlPanel(io.micronaut.management.endpoint.loggers.ManagedLoggingSystem loggingSystem, @Named("loggers") ControlPanelConfiguration configuration)
  • Method Details

    • getBody

      public io.micronaut.controlpanel.panels.management.LoggersControlPanel.Body getBody()
      Description copied from interface: ControlPanel
      Used to render the body of the control panel.
      Returns:
      the body of the control panel.
    • getBadge

      public String getBadge()
      Description copied from interface: ControlPanel
      Badge text to be displayed in the header of the card UI element.
      Returns:
      the badge text of the control panel.