org.eclipse.rdf4j.federated.monitoring

## Class QueryLog

- java.lang.Object
- - org.eclipse.rdf4j.federated.monitoring.QueryLog

-     public class QueryLog
      extends Object

  Convenience class which writes the query backlog a logger with the name "QueryLog". The logger is configured using the available logging framework.

  Requires monitoring to be enabled:

  - `FedXConfig.isEnableMonitoring()`
  - `FedXConfig.isLogQueries()`
  Author:
    Andreas Schwarte

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `QueryLog()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `logQuery(QueryInfo query)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### QueryLog

          public QueryLog()
                   throws IOException

      Throws:
        `IOException`

  - ### Method Detail

    - #### logQuery

          public void logQuery(QueryInfo query)

Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.