Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
20 lines
584 B
Plaintext
20 lines
584 B
Plaintext
// const defaultLogger = debug('SimpleWebAuthn');
|
|
/**
|
|
* 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 function getLogger(_name) {
|
|
// This is a noop for now while I search for a better debug logger technique
|
|
return (_message, ..._rest) => { };
|
|
}
|