UNPKG

@wgtechlabs/log-engine

Version:

A lightweight, security-first logging utility with automatic data redaction for Node.js applications - the first logging library with built-in PII protection.

22 lines 1.78 kB
"use strict"; /** * Formatter module exports * Provides centralized access to all formatting functionality */ Object.defineProperty(exports, "__esModule", { value: true }); exports.LogFormatter = exports.styleData = exports.formatData = exports.formatTimestamp = exports.getTimestampComponents = exports.colorScheme = exports.colors = exports.MessageFormatter = void 0; var message_formatter_1 = require("./message-formatter.cjs"); Object.defineProperty(exports, "MessageFormatter", { enumerable: true, get: function () { return message_formatter_1.MessageFormatter; } }); var colors_1 = require("./colors.cjs"); Object.defineProperty(exports, "colors", { enumerable: true, get: function () { return colors_1.colors; } }); Object.defineProperty(exports, "colorScheme", { enumerable: true, get: function () { return colors_1.colorScheme; } }); var timestamp_1 = require("./timestamp.cjs"); Object.defineProperty(exports, "getTimestampComponents", { enumerable: true, get: function () { return timestamp_1.getTimestampComponents; } }); Object.defineProperty(exports, "formatTimestamp", { enumerable: true, get: function () { return timestamp_1.formatTimestamp; } }); var data_formatter_1 = require("./data-formatter.cjs"); Object.defineProperty(exports, "formatData", { enumerable: true, get: function () { return data_formatter_1.formatData; } }); Object.defineProperty(exports, "styleData", { enumerable: true, get: function () { return data_formatter_1.styleData; } }); // Backward compatibility - maintain the original LogFormatter class interface var message_formatter_2 = require("./message-formatter.cjs"); Object.defineProperty(exports, "LogFormatter", { enumerable: true, get: function () { return message_formatter_2.MessageFormatter; } }); //# sourceMappingURL=index.js.map