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