code: func (p *Plugin) listLoggersHandler(formatter *render.Render) http.HandlerFunc {
  	return func(w http.ResponseWriter, req *http.Request) {
  		formatter.JSON(w, http.StatusOK, p.listLoggers())
  	}
  }
docs: // listLoggersHandler processes requests to list all registered loggers