Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@opentelemetry/api-logs

Package Overview
Dependencies
Maintainers
2
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentelemetry/api-logs - npm Package Compare versions

Comparing version 0.37.0 to 0.38.0

2

build/esm/index.d.ts

@@ -5,4 +5,6 @@ export * from './types/Logger';

export * from './types/LoggerOptions';
export * from './NoopLogger';
export * from './NoopLoggerProvider';
import { LogsAPI } from './api/logs';
export declare const logs: LogsAPI;
//# sourceMappingURL=index.d.ts.map

@@ -20,4 +20,6 @@ /*

export * from './types/LoggerOptions';
export * from './NoopLogger';
export * from './NoopLoggerProvider';
import { LogsAPI } from './api/logs';
export var logs = LogsAPI.getInstance();
//# sourceMappingURL=index.js.map

@@ -6,2 +6,3 @@ import { Logger } from './types/Logger';

}
export declare const NOOP_LOGGER: NoopLogger;
//# sourceMappingURL=NoopLogger.d.ts.map

@@ -23,2 +23,3 @@ /*

export { NoopLogger };
export var NOOP_LOGGER = new NoopLogger();
//# sourceMappingURL=NoopLogger.js.map

@@ -12,3 +12,8 @@ import { Attributes } from '@opentelemetry/api';

scopeAttributes?: Attributes;
/**
* Specifies whether the Trace Context should automatically be passed on to the LogRecords emitted by the Logger.
* @default true
*/
includeTraceContext?: boolean;
}
//# sourceMappingURL=LoggerOptions.d.ts.map

14

build/esm/types/LogRecord.d.ts

@@ -1,2 +0,2 @@

import { Attributes } from '@opentelemetry/api';
import { Attributes, Context } from '@opentelemetry/api';
export declare enum SeverityNumber {

@@ -51,14 +51,6 @@ UNSPECIFIED = 0,

/**
* 8 least significant bits are the trace flags as defined in W3C Trace Context specification.
* The Context associated with the LogRecord.
*/
traceFlags?: number;
/**
* A unique identifier for a trace.
*/
traceId?: string;
/**
* A unique identifier for a span within a trace.
*/
spanId?: string;
context?: Context;
}
//# sourceMappingURL=LogRecord.d.ts.map

@@ -1,2 +0,2 @@

export declare const VERSION = "0.37.0";
export declare const VERSION = "0.38.0";
//# sourceMappingURL=version.d.ts.map

@@ -17,3 +17,3 @@ /*

// this is autogenerated file, see scripts/version-update.js
export var VERSION = '0.37.0';
export var VERSION = '0.38.0';
//# sourceMappingURL=version.js.map

@@ -5,4 +5,6 @@ export * from './types/Logger';

export * from './types/LoggerOptions';
export * from './NoopLogger';
export * from './NoopLoggerProvider';
import { LogsAPI } from './api/logs';
export declare const logs: LogsAPI;
//# sourceMappingURL=index.d.ts.map

@@ -20,4 +20,6 @@ /*

export * from './types/LoggerOptions';
export * from './NoopLogger';
export * from './NoopLoggerProvider';
import { LogsAPI } from './api/logs';
export const logs = LogsAPI.getInstance();
//# sourceMappingURL=index.js.map

@@ -6,2 +6,3 @@ import { Logger } from './types/Logger';

}
export declare const NOOP_LOGGER: NoopLogger;
//# sourceMappingURL=NoopLogger.d.ts.map

@@ -19,2 +19,3 @@ /*

}
export const NOOP_LOGGER = new NoopLogger();
//# sourceMappingURL=NoopLogger.js.map

@@ -12,3 +12,8 @@ import { Attributes } from '@opentelemetry/api';

scopeAttributes?: Attributes;
/**
* Specifies whether the Trace Context should automatically be passed on to the LogRecords emitted by the Logger.
* @default true
*/
includeTraceContext?: boolean;
}
//# sourceMappingURL=LoggerOptions.d.ts.map

@@ -1,2 +0,2 @@

import { Attributes } from '@opentelemetry/api';
import { Attributes, Context } from '@opentelemetry/api';
export declare enum SeverityNumber {

@@ -51,14 +51,6 @@ UNSPECIFIED = 0,

/**
* 8 least significant bits are the trace flags as defined in W3C Trace Context specification.
* The Context associated with the LogRecord.
*/
traceFlags?: number;
/**
* A unique identifier for a trace.
*/
traceId?: string;
/**
* A unique identifier for a span within a trace.
*/
spanId?: string;
context?: Context;
}
//# sourceMappingURL=LogRecord.d.ts.map

@@ -1,2 +0,2 @@

export declare const VERSION = "0.37.0";
export declare const VERSION = "0.38.0";
//# sourceMappingURL=version.d.ts.map

@@ -17,3 +17,3 @@ /*

// this is autogenerated file, see scripts/version-update.js
export const VERSION = '0.37.0';
export const VERSION = '0.38.0';
//# sourceMappingURL=version.js.map

@@ -5,4 +5,6 @@ export * from './types/Logger';

export * from './types/LoggerOptions';
export * from './NoopLogger';
export * from './NoopLoggerProvider';
import { LogsAPI } from './api/logs';
export declare const logs: LogsAPI;
//# sourceMappingURL=index.d.ts.map

@@ -33,4 +33,6 @@ "use strict";

__exportStar(require("./types/LoggerOptions"), exports);
__exportStar(require("./NoopLogger"), exports);
__exportStar(require("./NoopLoggerProvider"), exports);
const logs_1 = require("./api/logs");
exports.logs = logs_1.LogsAPI.getInstance();
//# sourceMappingURL=index.js.map

@@ -6,2 +6,3 @@ import { Logger } from './types/Logger';

}
export declare const NOOP_LOGGER: NoopLogger;
//# sourceMappingURL=NoopLogger.d.ts.map

@@ -18,3 +18,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.NoopLogger = void 0;
exports.NOOP_LOGGER = exports.NoopLogger = void 0;
class NoopLogger {

@@ -24,2 +24,3 @@ emit(_logRecord) { }

exports.NoopLogger = NoopLogger;
exports.NOOP_LOGGER = new NoopLogger();
//# sourceMappingURL=NoopLogger.js.map

@@ -12,3 +12,8 @@ import { Attributes } from '@opentelemetry/api';

scopeAttributes?: Attributes;
/**
* Specifies whether the Trace Context should automatically be passed on to the LogRecords emitted by the Logger.
* @default true
*/
includeTraceContext?: boolean;
}
//# sourceMappingURL=LoggerOptions.d.ts.map

@@ -1,2 +0,2 @@

import { Attributes } from '@opentelemetry/api';
import { Attributes, Context } from '@opentelemetry/api';
export declare enum SeverityNumber {

@@ -51,14 +51,6 @@ UNSPECIFIED = 0,

/**
* 8 least significant bits are the trace flags as defined in W3C Trace Context specification.
* The Context associated with the LogRecord.
*/
traceFlags?: number;
/**
* A unique identifier for a trace.
*/
traceId?: string;
/**
* A unique identifier for a span within a trace.
*/
spanId?: string;
context?: Context;
}
//# sourceMappingURL=LogRecord.d.ts.map

@@ -1,2 +0,2 @@

export declare const VERSION = "0.37.0";
export declare const VERSION = "0.38.0";
//# sourceMappingURL=version.d.ts.map

@@ -20,3 +20,3 @@ "use strict";

// this is autogenerated file, see scripts/version-update.js
exports.VERSION = '0.37.0';
exports.VERSION = '0.38.0';
//# sourceMappingURL=version.js.map
{
"name": "@opentelemetry/api-logs",
"version": "0.37.0",
"version": "0.38.0",
"description": "Public logs API for OpenTelemetry",

@@ -87,3 +87,3 @@ "main": "build/src/index.js",

"sideEffects": false,
"gitHead": "1328ee04ae78f9f6cf143af7050c00aaa6d2eb3b"
"gitHead": "a04090010ee18e17487b449984807cc2b7b6e3e6"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc