Package org.intermine.sql.logging
Class QueryLogger
- java.lang.Object
-
- org.intermine.sql.logging.QueryLogger
-
public final class QueryLogger extends java.lang.Object
Provides a logging facility for a Query- Author:
- Andrew Varley
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.Object
lock
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
log(Query q, java.io.Writer w)
Allows a Query to be logged
-
-
-
Method Detail
-
log
public static void log(Query q, java.io.Writer w) throws java.io.IOException
Allows a Query to be logged- Parameters:
q
- a Query to be loggedw
- the Writer on which to log the Query- Throws:
java.io.IOException
- if unable to log correctly
-
-