Skip to content

Commit d24e94c

Browse files
committed
refactor: remove unused logger field and related methods from CopilotClientOptions
1 parent eb1e4b9 commit d24e94c

1 file changed

Lines changed: 0 additions & 23 deletions

File tree

src/main/java/com/github/copilot/sdk/json/CopilotClientOptions.java

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
package com.github.copilot.sdk.json;
66

77
import java.util.Map;
8-
import java.util.logging.Logger;
98

109
import com.fasterxml.jackson.annotation.JsonInclude;
1110

@@ -42,7 +41,6 @@ public class CopilotClientOptions {
4241
private boolean autoStart = true;
4342
private boolean autoRestart = true;
4443
private Map<String, String> environment;
45-
private Logger logger;
4644
private String githubToken;
4745
private Boolean useLoggedInUser;
4846

@@ -276,27 +274,6 @@ public CopilotClientOptions setEnvironment(Map<String, String> environment) {
276274
return this;
277275
}
278276

279-
/**
280-
* Gets the custom logger for the client.
281-
*
282-
* @return the logger instance
283-
*/
284-
public Logger getLogger() {
285-
return logger;
286-
}
287-
288-
/**
289-
* Sets a custom logger for the client.
290-
*
291-
* @param logger
292-
* the logger instance to use
293-
* @return this options instance for method chaining
294-
*/
295-
public CopilotClientOptions setLogger(Logger logger) {
296-
this.logger = logger;
297-
return this;
298-
}
299-
300277
/**
301278
* Gets the GitHub token for authentication.
302279
*

0 commit comments

Comments
 (0)