public class SdkLogger extends Object implements io.apimatic.coreinterfaces.logger.ApiLogger
| Constructor and Description |
|---|
SdkLogger(io.apimatic.coreinterfaces.logger.configuration.LoggingConfiguration config)
Default Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
logRequest(io.apimatic.coreinterfaces.http.request.Request request)
Log requests.
|
void |
logResponse(io.apimatic.coreinterfaces.http.response.Response response)
Log Responses.
|
public SdkLogger(io.apimatic.coreinterfaces.logger.configuration.LoggingConfiguration config)
config - LoggingConfiguration as logging properties.public void logRequest(io.apimatic.coreinterfaces.http.request.Request request)
logRequest in interface io.apimatic.coreinterfaces.logger.ApiLoggerrequest - HttpRequest to be logged.public void logResponse(io.apimatic.coreinterfaces.http.response.Response response)
logResponse in interface io.apimatic.coreinterfaces.logger.ApiLoggerresponse - HttpResponse to be logged.Copyright © 2025. All rights reserved.