You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement a centralized logging system to improve debugging capabilities
and separate logging concerns from the Storage class.
- Add logger module with configurable debug/info levels
- Support runtime configuration via coder.verbose setting
- Provide OutputChannelAdapter for VS Code integration
- Add ArrayAdapter for isolated unit testing
- Include performance benchmarks in tests
- Maintain backward compatibility via Storage delegation
- Update all components to use centralized logger
The logger responds to configuration changes without requiring extension
restart and includes source location tracking for debug messages.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
// X509_ERR_CODE represents error codes as returned from BoringSSL/OpenSSL.
8
9
exportenumX509_ERR_CODE{
@@ -21,10 +22,6 @@ export enum X509_ERR {
21
22
UNTRUSTED_CHAIN="Your Coder deployment's certificate chain does not appear to be trusted by this system. The root of the certificate chain must be added to this system's trust store. ",
22
23
}
23
24
24
-
exportinterfaceLogger{
25
-
writeToCoderOutputChannel(message: string): void;
26
-
}
27
-
28
25
interfaceKeyUsage{
29
26
keyCertSign: boolean;
30
27
}
@@ -47,7 +44,6 @@ export class CertificateError extends Error {
47
44
staticasyncmaybeWrap<T>(
48
45
err: T,
49
46
address: string,
50
-
logger: Logger,
51
47
): Promise<CertificateError|T>{
52
48
if(isAxiosError(err)){
53
49
switch(err.code){
@@ -59,7 +55,7 @@ export class CertificateError extends Error {
0 commit comments