@opentelemetry/winston-transport 0.24.0 → 0.25.0

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.
@@ -1,18 +1,7 @@
1
1
  "use strict";
2
2
  /*
3
3
  * Copyright The OpenTelemetry Authors
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * https://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
4
+ * SPDX-License-Identifier: Apache-2.0
16
5
  */
17
6
  Object.defineProperty(exports, "__esModule", { value: true });
18
7
  exports.OpenTelemetryTransportV3 = void 0;
@@ -1 +1 @@
1
- {"version":3,"file":"OpenTelemetryTransportV3.js","sourceRoot":"","sources":["../../src/OpenTelemetryTransportV3.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,sDAAuD;AACvD,qDAAsD;AACtD,kBAAkB;AAClB,uCAA0D;AAC1D,mCAAwC;AAExC,MAAa,wBAAyB,SAAQ,eAAe;IACnD,OAAO,CAAS;IAExB,YAAY,OAAgD;QAC1D,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,OAAO,GAAG,eAAI,CAAC,SAAS,CAAC,sBAAY,EAAE,yBAAe,CAAC,CAAC;IAC/D,CAAC;IAEe,GAAG,CAAC,IAAS,EAAE,QAAoB;QACjD,IAAI;YACF,IAAA,qBAAa,EAAC,IAAI,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;SACnC;QAAC,OAAO,KAAK,EAAE;YACd,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;SAC1B;QACD,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;QAC1B,IAAI,QAAQ,EAAE;YACZ,QAAQ,EAAE,CAAC;SACZ;IACH,CAAC;CACF;AAnBD,4DAmBC","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Logger, logs } from '@opentelemetry/api-logs';\nimport TransportStream = require('winston-transport');\n/** @knipignore */\nimport { PACKAGE_NAME, PACKAGE_VERSION } from './version';\nimport { emitLogRecord } from './utils';\n\nexport class OpenTelemetryTransportV3 extends TransportStream {\n private _logger: Logger;\n\n constructor(options?: TransportStream.TransportStreamOptions) {\n super(options);\n this._logger = logs.getLogger(PACKAGE_NAME, PACKAGE_VERSION);\n }\n\n public override log(info: any, callback: () => void) {\n try {\n emitLogRecord(info, this._logger);\n } catch (error) {\n this.emit('warn', error);\n }\n this.emit('logged', info);\n if (callback) {\n callback();\n }\n }\n}\n"]}
1
+ {"version":3,"file":"OpenTelemetryTransportV3.js","sourceRoot":"","sources":["../../src/OpenTelemetryTransportV3.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,sDAAuD;AACvD,qDAAsD;AACtD,kBAAkB;AAClB,uCAA0D;AAC1D,mCAAwC;AAExC,MAAa,wBAAyB,SAAQ,eAAe;IACnD,OAAO,CAAS;IAExB,YAAY,OAAgD;QAC1D,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,OAAO,GAAG,eAAI,CAAC,SAAS,CAAC,sBAAY,EAAE,yBAAe,CAAC,CAAC;IAC/D,CAAC;IAEe,GAAG,CAAC,IAAS,EAAE,QAAoB;QACjD,IAAI;YACF,IAAA,qBAAa,EAAC,IAAI,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;SACnC;QAAC,OAAO,KAAK,EAAE;YACd,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;SAC1B;QACD,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;QAC1B,IAAI,QAAQ,EAAE;YACZ,QAAQ,EAAE,CAAC;SACZ;IACH,CAAC;CACF;AAnBD,4DAmBC","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { Logger, logs } from '@opentelemetry/api-logs';\nimport TransportStream = require('winston-transport');\n/** @knipignore */\nimport { PACKAGE_NAME, PACKAGE_VERSION } from './version';\nimport { emitLogRecord } from './utils';\n\nexport class OpenTelemetryTransportV3 extends TransportStream {\n private _logger: Logger;\n\n constructor(options?: TransportStream.TransportStreamOptions) {\n super(options);\n this._logger = logs.getLogger(PACKAGE_NAME, PACKAGE_VERSION);\n }\n\n public override log(info: any, callback: () => void) {\n try {\n emitLogRecord(info, this._logger);\n } catch (error) {\n this.emit('warn', error);\n }\n this.emit('logged', info);\n if (callback) {\n callback();\n }\n }\n}\n"]}
@@ -1,18 +1,7 @@
1
1
  "use strict";
2
2
  /*
3
3
  * Copyright The OpenTelemetry Authors
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * https://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
4
+ * SPDX-License-Identifier: Apache-2.0
16
5
  */
17
6
  Object.defineProperty(exports, "__esModule", { value: true });
18
7
  exports.OpenTelemetryTransportV3 = void 0;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,uEAAsE;AAA7D,oIAAA,wBAAwB,OAAA","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport { OpenTelemetryTransportV3 } from './OpenTelemetryTransportV3';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,uEAAsE;AAA7D,oIAAA,wBAAwB,OAAA","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport { OpenTelemetryTransportV3 } from './OpenTelemetryTransportV3';\n"]}
@@ -1,18 +1,7 @@
1
1
  "use strict";
2
2
  /*
3
3
  * Copyright The OpenTelemetry Authors
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * https://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
4
+ * SPDX-License-Identifier: Apache-2.0
16
5
  */
17
6
  Object.defineProperty(exports, "__esModule", { value: true });
18
7
  exports.emitLogRecord = void 0;
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sourceRoot":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AC,KAAK,CAAC,IAAI,SAAS,CAAC,KAAK,CAAC,CAAC;AACrE,CAAC;AAED,SAAgB,aAAa,CAC3B,MAAoC,EACpC,MAAc;IAEd,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,CAAC;IAC5C,MAAM,UAAU,GAAkB,EAAE,CAAC;IACrC,qEAAqE;IACrE,6EAA6E;IAC7E,YAAY;IACZ,MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC;IAC7C,KAAK,MAAM,GAAG,IAAI,KAAK,EAAE;QACvB,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,KAAK,EAAE,GAAG,CAAC,EAAE;YACpD,UAAU,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC;SAC9B;KACF;IACD,MAAM,SAAS,GAAc;QAC3B,cAAc,EAAE,iBAAiB,CAAC,QAAQ,CAAC;QAC3C,YAAY,EAAE,QAAQ;QACtB,IAAI,EAAE,OAAO;QACb,UAAU,EAAE,UAAU;KACvB,CAAC;IACF,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;AACzB,CAAC;AAtBD,sCAsBC","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n LogAttributes,\n LogRecord,\n Logger,\n SeverityNumber,\n} from '@opentelemetry/api-logs';\n\nconst npmLevels: Record<string, number> = {\n error: SeverityNumber.ERROR,\n warn: SeverityNumber.WARN,\n info: SeverityNumber.INFO,\n http: SeverityNumber.DEBUG3,\n verbose: SeverityNumber.DEBUG2,\n debug: SeverityNumber.DEBUG,\n silly: SeverityNumber.TRACE,\n};\n\nconst sysLoglevels: Record<string, number> = {\n emerg: SeverityNumber.FATAL3,\n alert: SeverityNumber.FATAL2,\n crit: SeverityNumber.FATAL,\n error: SeverityNumber.ERROR,\n warning: SeverityNumber.WARN,\n notice: SeverityNumber.INFO2,\n info: SeverityNumber.INFO,\n debug: SeverityNumber.DEBUG,\n};\n\nconst cliLevels: Record<string, number> = {\n error: SeverityNumber.ERROR,\n warn: SeverityNumber.WARN,\n help: SeverityNumber.INFO3,\n data: SeverityNumber.INFO2,\n info: SeverityNumber.INFO,\n debug: SeverityNumber.DEBUG,\n prompt: SeverityNumber.TRACE4,\n verbose: SeverityNumber.TRACE3,\n input: SeverityNumber.TRACE2,\n silly: SeverityNumber.TRACE,\n};\n\nfunction getSeverityNumber(level: string): SeverityNumber | undefined {\n return npmLevels[level] ?? sysLoglevels[level] ?? cliLevels[level];\n}\n\nexport function emitLogRecord(\n record: Record<string | symbol, any>,\n logger: Logger\n): void {\n const { message, level, ...splat } = record;\n const attributes: LogAttributes = {};\n // Ensures the log level is read from a symbol property, avoiding any\n // accidental inclusion of ANSI color codes that may be present in the string\n // property.\n const levelSym = record[Symbol.for('level')];\n for (const key in splat) {\n if (Object.prototype.hasOwnProperty.call(splat, key)) {\n attributes[key] = splat[key];\n }\n }\n const logRecord: LogRecord = {\n severityNumber: getSeverityNumber(levelSym),\n severityText: levelSym,\n body: message,\n attributes: attributes,\n };\n logger.emit(logRecord);\n}\n"]}
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/utils.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,sDAKiC;AAEjC,MAAM,SAAS,GAA2B;IACxC,KAAK,EAAE,yBAAc,CAAC,KAAK;IAC3B,IAAI,EAAE,yBAAc,CAAC,IAAI;IACzB,IAAI,EAAE,yBAAc,CAAC,IA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AAE,CAAC;IACrC,qEAAqE;IACrE,6EAA6E;IAC7E,YAAY;IACZ,MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC;IAC7C,KAAK,MAAM,GAAG,IAAI,KAAK,EAAE;QACvB,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,KAAK,EAAE,GAAG,CAAC,EAAE;YACpD,UAAU,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC;SAC9B;KACF;IACD,MAAM,SAAS,GAAc;QAC3B,cAAc,EAAE,iBAAiB,CAAC,QAAQ,CAAC;QAC3C,YAAY,EAAE,QAAQ;QACtB,IAAI,EAAE,OAAO;QACb,UAAU,EAAE,UAAU;KACvB,CAAC;IACF,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;AACzB,CAAC;AAtBD,sCAsBC","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport {\n LogAttributes,\n LogRecord,\n Logger,\n SeverityNumber,\n} from '@opentelemetry/api-logs';\n\nconst npmLevels: Record<string, number> = {\n error: SeverityNumber.ERROR,\n warn: SeverityNumber.WARN,\n info: SeverityNumber.INFO,\n http: SeverityNumber.DEBUG3,\n verbose: SeverityNumber.DEBUG2,\n debug: SeverityNumber.DEBUG,\n silly: SeverityNumber.TRACE,\n};\n\nconst sysLoglevels: Record<string, number> = {\n emerg: SeverityNumber.FATAL3,\n alert: SeverityNumber.FATAL2,\n crit: SeverityNumber.FATAL,\n error: SeverityNumber.ERROR,\n warning: SeverityNumber.WARN,\n notice: SeverityNumber.INFO2,\n info: SeverityNumber.INFO,\n debug: SeverityNumber.DEBUG,\n};\n\nconst cliLevels: Record<string, number> = {\n error: SeverityNumber.ERROR,\n warn: SeverityNumber.WARN,\n help: SeverityNumber.INFO3,\n data: SeverityNumber.INFO2,\n info: SeverityNumber.INFO,\n debug: SeverityNumber.DEBUG,\n prompt: SeverityNumber.TRACE4,\n verbose: SeverityNumber.TRACE3,\n input: SeverityNumber.TRACE2,\n silly: SeverityNumber.TRACE,\n};\n\nfunction getSeverityNumber(level: string): SeverityNumber | undefined {\n return npmLevels[level] ?? sysLoglevels[level] ?? cliLevels[level];\n}\n\nexport function emitLogRecord(\n record: Record<string | symbol, any>,\n logger: Logger\n): void {\n const { message, level, ...splat } = record;\n const attributes: LogAttributes = {};\n // Ensures the log level is read from a symbol property, avoiding any\n // accidental inclusion of ANSI color codes that may be present in the string\n // property.\n const levelSym = record[Symbol.for('level')];\n for (const key in splat) {\n if (Object.prototype.hasOwnProperty.call(splat, key)) {\n attributes[key] = splat[key];\n }\n }\n const logRecord: LogRecord = {\n severityNumber: getSeverityNumber(levelSym),\n severityText: levelSym,\n body: message,\n attributes: attributes,\n };\n logger.emit(logRecord);\n}\n"]}
@@ -1,3 +1,3 @@
1
- export declare const PACKAGE_VERSION = "0.24.0";
1
+ export declare const PACKAGE_VERSION = "0.25.0";
2
2
  export declare const PACKAGE_NAME = "@opentelemetry/winston-transport";
3
3
  //# sourceMappingURL=version.d.ts.map
@@ -1,22 +1,11 @@
1
1
  "use strict";
2
2
  /*
3
3
  * Copyright The OpenTelemetry Authors
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * https://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
4
+ * SPDX-License-Identifier: Apache-2.0
16
5
  */
17
6
  Object.defineProperty(exports, "__esModule", { value: true });
18
7
  exports.PACKAGE_NAME = exports.PACKAGE_VERSION = void 0;
19
8
  // this is autogenerated file, see scripts/version-update.js
20
- exports.PACKAGE_VERSION = '0.24.0';
9
+ exports.PACKAGE_VERSION = '0.25.0';
21
10
  exports.PACKAGE_NAME = '@opentelemetry/winston-transport';
22
11
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4DAA4D;AAC/C,QAAA,eAAe,GAAG,QAAQ,CAAC;AAC3B,QAAA,YAAY,GAAG,kCAAkC,CAAC","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n// this is autogenerated file, see scripts/version-update.js\nexport const PACKAGE_VERSION = '0.24.0';\nexport const PACKAGE_NAME = '@opentelemetry/winston-transport';\n"]}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,4DAA4D;AAC/C,QAAA,eAAe,GAAG,QAAQ,CAAC;AAC3B,QAAA,YAAY,GAAG,kCAAkC,CAAC","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n * SPDX-License-Identifier: Apache-2.0\n */\n\n// this is autogenerated file, see scripts/version-update.js\nexport const PACKAGE_VERSION = '0.25.0';\nexport const PACKAGE_NAME = '@opentelemetry/winston-transport';\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opentelemetry/winston-transport",
3
- "version": "0.24.0",
3
+ "version": "0.25.0",
4
4
  "description": "OpenTelemetry Transport for winston",
5
5
  "main": "build/src/index.js",
6
6
  "types": "build/src/index.d.ts",
@@ -39,13 +39,13 @@
39
39
  "access": "public"
40
40
  },
41
41
  "devDependencies": {
42
- "@opentelemetry/sdk-logs": "^0.214.0",
42
+ "@opentelemetry/sdk-logs": "^0.215.0",
43
43
  "@types/triple-beam": "1.3.5"
44
44
  },
45
45
  "dependencies": {
46
- "@opentelemetry/api-logs": "^0.214.0",
46
+ "@opentelemetry/api-logs": "^0.215.0",
47
47
  "winston-transport": "4.*"
48
48
  },
49
49
  "homepage": "https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/packages/winston-transport#readme",
50
- "gitHead": "ed97091c9890dd18e52759f2ea98e9d7593b3ae4"
50
+ "gitHead": "bd017c86bcdf369d7bc1b490e455f95b25385779"
51
51
  }