mirror of https://github.com/certd/certd
chore: 1
parent
2dcc3206e1
commit
a59eb0c4c7
|
@ -198,7 +198,7 @@ export const agents: any;
|
||||||
* Logger
|
* Logger
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export function setLogger(fn: (...msg: any) => void): void;
|
export function setLogger(fn: (message: any, ...args: any[]) => void): void;
|
||||||
|
|
||||||
export function walkTxtRecord(record: any): Promise<string[]>;
|
export function walkTxtRecord(record: any): Promise<string[]>;
|
||||||
|
|
||||||
|
|
|
@ -60,8 +60,8 @@ export class AcmeService {
|
||||||
this.sslProvider = options.sslProvider || "letsencrypt";
|
this.sslProvider = options.sslProvider || "letsencrypt";
|
||||||
this.eab = options.eab;
|
this.eab = options.eab;
|
||||||
this.skipLocalVerify = options.skipLocalVerify ?? false;
|
this.skipLocalVerify = options.skipLocalVerify ?? false;
|
||||||
acme.setLogger((...text: any) => {
|
acme.setLogger((message: any, ...args: any[]) => {
|
||||||
this.logger.info(...text);
|
this.logger.info(message, ...args);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue