Class LogStreamJsonRPCService

java.lang.Object
io.quarkus.devui.runtime.logstream.LogStreamJsonRPCService

public class LogStreamJsonRPCService extends Object
This makes the log file available via json RPC
  • Constructor Details

    • LogStreamJsonRPCService

      public LogStreamJsonRPCService()
  • Method Details

    • ping

      public String ping()
    • history

      public List<io.vertx.core.json.JsonObject> history()
    • logHistory

      @JsonRpcDescription("Get a short Quarkus application log file history (last 60 lines)") public List<String> logHistory()
    • streamLog

      @JsonRpcDescription("Stream the Quarkus application log file") public io.smallrye.mutiny.Multi<io.vertx.core.json.JsonObject> streamLog()
    • getLoggers

      @JsonRpcDescription("Get all the available loggers in this Quarkus application") @DevMCPEnableByDefault public List<io.vertx.core.json.JsonObject> getLoggers()
    • getLogger

      @JsonRpcDescription("Get a specific logger in this Quarkus application") @DevMCPEnableByDefault public io.vertx.core.json.JsonObject getLogger(@JsonRpcDescription("The name of the logger") String loggerName)
    • updateLogLevel

      @JsonRpcDescription("Update a specific logger\'s log level in this Quarkus application") @DevMCPEnableByDefault public io.vertx.core.json.JsonObject updateLogLevel(@JsonRpcDescription("The name of the logger") String loggerName, @JsonRpcDescription("The new level of the logger") String levelValue)