MCPcopy Index your code
hub / github.com/amadeus4dev/amadeus-java / log

Method log

src/main/java/com/amadeus/HTTPClient.java:349–354  ·  view source on GitHub ↗
(Object object)

Source from the content-addressed store, hash-verified

347
348 // A simple log that only triggers if we are in debug mode
349 private void log(Object object) {
350 if (getConfiguration().getLogLevel() == "debug") {
351 Logger logger = getConfiguration().getLogger();
352 logger.info(object.toString());
353 }
354 }
355
356 // Executes a request and return a Response
357 private Response execute(Request request) throws ResponseException {

Callers 2

executeMethod · 0.95

Calls 1

toStringMethod · 0.80

Tested by

no test coverage detected