16 lines
511 B
TypeScript
16 lines
511 B
TypeScript
/**
|
|
* Generate an instance of a `debug` logger that extends off of the "simplewebauthn" namespace for
|
|
* consistent naming.
|
|
*
|
|
* See https://www.npmjs.com/package/debug for information on how to control logging output when
|
|
* using @simplewebauthn/server
|
|
*
|
|
* Example:
|
|
*
|
|
* ```
|
|
* const log = getLogger('mds');
|
|
* log('hello'); // simplewebauthn:mds hello +0ms
|
|
* ```
|
|
*/
|
|
export declare function getLogger(_name: string): (message: string, ..._rest: unknown[]) => void;
|
|
//# sourceMappingURL=logging.d.ts.map
|