Class LogResource


  • @Path("/logs")
    @Produces({"application/json","application/xml"})
    public class LogResource
    extends Object
    Responsible for generating a new log JSON object
    Since:
    2.0.0
    • Constructor Detail

      • LogResource

        public LogResource()
    • Method Detail

      • getRecentLogs

        @GET
        public List<LogEvent> getRecentLogs()
        Generates log event list as a JSON object
        Returns:
        log event array
      • clearLogs

        @POST
        public void clearLogs()
        REST call to clear the logs