public class LoggingRequestLogger extends Object implements RequestLogger
| Constructor and Description |
|---|
LoggingRequestLogger(com.fasterxml.jackson.databind.ObjectMapper mapper,
boolean setMDC,
boolean setContextMDC) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSetContextMDC() |
boolean |
isSetMDC() |
void |
logNativeQuery(RequestLogLine requestLogLine) |
void |
logSqlQuery(RequestLogLine requestLogLine) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitstart, stoppublic LoggingRequestLogger(com.fasterxml.jackson.databind.ObjectMapper mapper,
boolean setMDC,
boolean setContextMDC)
public void logNativeQuery(RequestLogLine requestLogLine) throws IOException
logNativeQuery in interface RequestLoggerIOExceptionpublic void logSqlQuery(RequestLogLine requestLogLine) throws IOException
logSqlQuery in interface RequestLoggerIOExceptionpublic boolean isSetMDC()
public boolean isSetContextMDC()
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.