doc.yeswiki.pro/node_modules/@algolia/logger-common/dist/logger-common.cjs.js

27 lines
543 B
JavaScript
Raw Normal View History

2023-05-20 16:37:42 +00:00
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
function createNullLogger() {
return {
debug(_message, _args) {
return Promise.resolve();
},
info(_message, _args) {
return Promise.resolve();
},
error(_message, _args) {
return Promise.resolve();
},
};
}
const LogLevelEnum = {
Debug: 1,
Info: 2,
Error: 3,
};
exports.LogLevelEnum = LogLevelEnum;
exports.createNullLogger = createNullLogger;