logixia 1.8.5 → 1.8.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.tsbuildinfo +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/dist/{logitron-logger.module-Cd5M_59H.d.mts → logitron-logger.module-B1wGu4F_.d.mts} +3 -3
- package/dist/{logitron-logger.module-Cd5M_59H.d.mts.map → logitron-logger.module-B1wGu4F_.d.mts.map} +1 -1
- package/dist/{logitron-logger.module-sOTr7B5_.mjs → logitron-logger.module-KfGwt0MZ.mjs} +3 -6
- package/dist/{logitron-logger.module-sOTr7B5_.mjs.map → logitron-logger.module-KfGwt0MZ.mjs.map} +1 -1
- package/dist/{logitron-logger.module-BkPXi0He.d.ts → logitron-logger.module-n8hZVjyu.d.ts} +3 -3
- package/dist/{logitron-logger.module-BkPXi0He.d.ts.map → logitron-logger.module-n8hZVjyu.d.ts.map} +1 -1
- package/dist/{logitron-logger.module-LaP-W3ds.js → logitron-logger.module-pmoLIzZo.js} +3 -6
- package/dist/{logitron-logger.module-LaP-W3ds.js.map → logitron-logger.module-pmoLIzZo.js.map} +1 -1
- package/dist/nest.d.mts +1 -1
- package/dist/nest.d.ts +1 -1
- package/dist/nest.js +2 -2
- package/dist/nest.mjs +2 -2
- package/dist/{transport.manager-Dl3utzVP.mjs → transport.manager-BEkkbnY5.mjs} +3 -3
- package/dist/{transport.manager-Dl3utzVP.mjs.map → transport.manager-BEkkbnY5.mjs.map} +1 -1
- package/dist/{transport.manager-C56rdbm-.js → transport.manager-Ct1lBJ2m.js} +3 -3
- package/dist/{transport.manager-C56rdbm-.js.map → transport.manager-Ct1lBJ2m.js.map} +1 -1
- package/dist/transports.d.mts.map +1 -1
- package/dist/transports.d.ts.map +1 -1
- package/dist/transports.js +1 -1
- package/dist/transports.mjs +1 -1
- package/package.json +1 -1
package/dist/nest.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { T as TraceIdConfig } from "./index-DnhKoNBG.mjs";
|
|
2
|
-
import { a as LogixiaOptionsFactory, c as LogixiaLoggerService, i as LogixiaLoggerModule, l as LogixiaServiceWith, n as LOGIXIA_LOGGER_PREFIX, o as WebSocketTraceInterceptor, r as LogixiaAsyncOptions, s as KafkaTraceInterceptor, t as LOGIXIA_LOGGER_CONFIG, u as LogixiaServiceWithLevels } from "./logitron-logger.module-
|
|
2
|
+
import { a as LogixiaOptionsFactory, c as LogixiaLoggerService, i as LogixiaLoggerModule, l as LogixiaServiceWith, n as LOGIXIA_LOGGER_PREFIX, o as WebSocketTraceInterceptor, r as LogixiaAsyncOptions, s as KafkaTraceInterceptor, t as LOGIXIA_LOGGER_CONFIG, u as LogixiaServiceWithLevels } from "./logitron-logger.module-B1wGu4F_.mjs";
|
|
3
3
|
import { NestMiddleware } from "@nestjs/common";
|
|
4
4
|
import { NextFunction, Request, Response } from "express";
|
|
5
5
|
|
package/dist/nest.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { T as TraceIdConfig } from "./index-DknhKCCg.js";
|
|
2
|
-
import { a as LogixiaOptionsFactory, c as LogixiaLoggerService, i as LogixiaLoggerModule, l as LogixiaServiceWith, n as LOGIXIA_LOGGER_PREFIX, o as WebSocketTraceInterceptor, r as LogixiaAsyncOptions, s as KafkaTraceInterceptor, t as LOGIXIA_LOGGER_CONFIG, u as LogixiaServiceWithLevels } from "./logitron-logger.module-
|
|
2
|
+
import { a as LogixiaOptionsFactory, c as LogixiaLoggerService, i as LogixiaLoggerModule, l as LogixiaServiceWith, n as LOGIXIA_LOGGER_PREFIX, o as WebSocketTraceInterceptor, r as LogixiaAsyncOptions, s as KafkaTraceInterceptor, t as LOGIXIA_LOGGER_CONFIG, u as LogixiaServiceWithLevels } from "./logitron-logger.module-n8hZVjyu.js";
|
|
3
3
|
import { NestMiddleware } from "@nestjs/common";
|
|
4
4
|
import { NextFunction, Request, Response } from "express";
|
|
5
5
|
|
package/dist/nest.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
require('./transport.manager-
|
|
2
|
-
const require_logitron_logger_module = require('./logitron-logger.module-
|
|
1
|
+
require('./transport.manager-Ct1lBJ2m.js');
|
|
2
|
+
const require_logitron_logger_module = require('./logitron-logger.module-pmoLIzZo.js');
|
|
3
3
|
|
|
4
4
|
Object.defineProperty(exports, 'KafkaTraceInterceptor', {
|
|
5
5
|
enumerable: true,
|
package/dist/nest.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./transport.manager-
|
|
2
|
-
import { a as TraceMiddleware, c as KafkaTraceInterceptor, i as WebSocketTraceInterceptor, l as LogixiaLoggerService, n as LOGIXIA_LOGGER_PREFIX, r as LogixiaLoggerModule, t as LOGIXIA_LOGGER_CONFIG } from "./logitron-logger.module-
|
|
1
|
+
import "./transport.manager-BEkkbnY5.mjs";
|
|
2
|
+
import { a as TraceMiddleware, c as KafkaTraceInterceptor, i as WebSocketTraceInterceptor, l as LogixiaLoggerService, n as LOGIXIA_LOGGER_PREFIX, r as LogixiaLoggerModule, t as LOGIXIA_LOGGER_CONFIG } from "./logitron-logger.module-KfGwt0MZ.mjs";
|
|
3
3
|
|
|
4
4
|
export { KafkaTraceInterceptor, LOGIXIA_LOGGER_CONFIG, LOGIXIA_LOGGER_PREFIX, LogixiaLoggerModule, LogixiaLoggerService, TraceMiddleware, WebSocketTraceInterceptor };
|
|
@@ -1779,6 +1779,7 @@ var TransportManager = class extends EventEmitter {
|
|
|
1779
1779
|
return true;
|
|
1780
1780
|
}
|
|
1781
1781
|
async write(entry) {
|
|
1782
|
+
if (this.isShuttingDown) return;
|
|
1782
1783
|
const transportEntry = {
|
|
1783
1784
|
timestamp: new Date(entry.timestamp),
|
|
1784
1785
|
level: entry.level,
|
|
@@ -1789,7 +1790,6 @@ var TransportManager = class extends EventEmitter {
|
|
|
1789
1790
|
if (entry.context !== void 0) transportEntry.context = entry.context;
|
|
1790
1791
|
if (entry.traceId !== void 0) transportEntry.traceId = entry.traceId;
|
|
1791
1792
|
if (entry.environment !== void 0) transportEntry.environment = entry.environment;
|
|
1792
|
-
if (this.isShuttingDown) throw new Error("TransportManager is shutting down");
|
|
1793
1793
|
const writePromises = [];
|
|
1794
1794
|
for (const [id, transport] of this.transports) {
|
|
1795
1795
|
if (this.promptForLevels && !this.transportLevelPreferences.has(id)) await this.configureTransportLevels(id);
|
|
@@ -1905,8 +1905,8 @@ var TransportManager = class extends EventEmitter {
|
|
|
1905
1905
|
this.emit("flush", "all", this.transports.size);
|
|
1906
1906
|
}
|
|
1907
1907
|
async close() {
|
|
1908
|
-
this.isShuttingDown = true;
|
|
1909
1908
|
await this.flush();
|
|
1909
|
+
this.isShuttingDown = true;
|
|
1910
1910
|
const closePromises = [];
|
|
1911
1911
|
for (const [id, transport] of this.transports) if (transport.close) {
|
|
1912
1912
|
const closePromise = transport.close().catch((error) => {
|
|
@@ -2039,4 +2039,4 @@ var TransportManager = class extends EventEmitter {
|
|
|
2039
2039
|
|
|
2040
2040
|
//#endregion
|
|
2041
2041
|
export { FileTransport as a, DatabaseTransport as c, internalError as d, internalLog as f, GoogleAnalyticsTransport as i, ConsoleTransport as l, __require as m, SegmentTransport as n, DataDogTransport as o, internalWarn as p, MixpanelTransport as r, AnalyticsTransport as s, TransportManager as t, safeToString as u };
|
|
2042
|
-
//# sourceMappingURL=transport.manager-
|
|
2042
|
+
//# sourceMappingURL=transport.manager-BEkkbnY5.mjs.map
|