feat: 초기 프로젝트 설정 및 룰.md 파일 추가
This commit is contained in:
22
api.hyungi.net/node_modules/@simplewebauthn/server/script/helpers/logging.js
generated
vendored
Normal file
22
api.hyungi.net/node_modules/@simplewebauthn/server/script/helpers/logging.js
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
"use strict";
|
||||
// const defaultLogger = debug('SimpleWebAuthn');
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.getLogger = getLogger;
|
||||
/**
|
||||
* 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
|
||||
* ```
|
||||
*/
|
||||
function getLogger(_name) {
|
||||
// This is a noop for now while I search for a better debug logger technique
|
||||
return (_message, ..._rest) => { };
|
||||
}
|
||||
Reference in New Issue
Block a user