UNPKG

1.31 kBJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3exports.dummyLogger = void 0;
4/**
5 * Dummy logger that does not do anything.
6 *
7 * Useful as a default for some library that the user might want to get logs out of.
8 */
9exports.dummyLogger = {
10 trace: function (_message) {
11 var _optionalParams = [];
12 for (var _i = 1; _i < arguments.length; _i++) {
13 _optionalParams[_i - 1] = arguments[_i];
14 }
15 },
16 debug: function (_message) {
17 var _optionalParams = [];
18 for (var _i = 1; _i < arguments.length; _i++) {
19 _optionalParams[_i - 1] = arguments[_i];
20 }
21 },
22 info: function (_message) {
23 var _optionalParams = [];
24 for (var _i = 1; _i < arguments.length; _i++) {
25 _optionalParams[_i - 1] = arguments[_i];
26 }
27 },
28 warn: function (_message) {
29 var _optionalParams = [];
30 for (var _i = 1; _i < arguments.length; _i++) {
31 _optionalParams[_i - 1] = arguments[_i];
32 }
33 },
34 error: function (_message) {
35 var _optionalParams = [];
36 for (var _i = 1; _i < arguments.length; _i++) {
37 _optionalParams[_i - 1] = arguments[_i];
38 }
39 },
40};
41//# sourceMappingURL=index.js.map
\No newline at end of file