Socket
Socket
Sign inDemoInstall

@process-engine/logging_api_contracts

Package Overview
Dependencies
1
Maintainers
10
Versions
104
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.1-ea0199b9-b5 to 0.0.1-edaa5781-b19

dist/commonjs/ilogging_api_service.js

2

dist/commonjs/index.js

@@ -8,3 +8,5 @@ "use strict";

__export(require("./log_level"));
__export(require("./rest_settings"));
__export(require("./write_log_request_payload"));
//# sourceMappingURL=index.js.map

8

dist/commonjs/log_level.js

@@ -5,8 +5,8 @@ "use strict";

(function (LogLevel) {
LogLevel[LogLevel["debug"] = 1] = "debug";
LogLevel[LogLevel["info"] = 2] = "info";
LogLevel[LogLevel["warn"] = 4] = "warn";
LogLevel[LogLevel["error"] = 8] = "error";
LogLevel["debug"] = "debug";
LogLevel["info"] = "info";
LogLevel["warn"] = "warn";
LogLevel["error"] = "error";
})(LogLevel = exports.LogLevel || (exports.LogLevel = {}));
//# sourceMappingURL=log_level.js.map

@@ -1,3 +0,6 @@

export * from './ilogging_service';
export * from './ilogging_api_service';
export * from './ilogging_repository';
export * from './log_entry';
export * from './log_level';
export * from './rest_settings';
export * from './write_log_request_payload';
import { LogLevel } from './log_level';
/**
* Describes a single log entry.
* Contains information about the correlation, process model and flow node instance to which the entry belongs,
* aswell as a timestamp, log level and the concrete message that was logged.
*
* The properties here are ordered in the same manner as they are in the actual log file.
*/
export declare class LogEntry {
/**
* The id of the process model to which the log entry pertains.
*/
timeStamp: Date;
correlationId: string;
processModelId: string;
/**
* The id of the correlation to which the log entry pertains.
*/
correlationId: string;
/**
* The id of the flow node instance to which the log entry pertains.
*/
flowNodeInstanceId?: string;
/**
* The log level.
*/
flowNodeId?: string;
logLevel: LogLevel;
/**
* The log message.
*/
message: string;
/**
* The date and time at which the log entry was recorded..
*/
timeStamp: Date;
}
/**
* Contains a list of possible log levels.
* Contains the definition of log levels.
*/
export declare enum LogLevel {
debug = 1,
info = 2,
warn = 4,
error = 8
debug = "debug",
info = "info",
warn = "warn",
error = "error"
}
{
"name": "@process-engine/logging_api_contracts",
"version": "0.0.1-ea0199b9-b5",
"version": "0.0.1-edaa5781-b19",
"description": "the api-package for process-engine logging",

@@ -5,0 +5,0 @@ "main": "dist/commonjs/index.js",

@@ -1,3 +0,6 @@

export * from './ilogging_service';
export * from './ilogging_api_service';
export * from './ilogging_repository';
export * from './log_entry';
export * from './log_level';
export * from './rest_settings';
export * from './write_log_request_payload';

@@ -5,33 +5,15 @@ import {LogLevel} from './log_level';

* Describes a single log entry.
* Contains information about the correlation, process model and flow node instance to which the entry belongs,
* aswell as a timestamp, log level and the concrete message that was logged.
*
* The properties here are ordered in the same manner as they are in the actual log file.
*/
export class LogEntry {
/**
* The id of the process model to which the log entry pertains.
*/
public timeStamp: Date;
public correlationId: string;
public processModelId: string;
/**
* The id of the correlation to which the log entry pertains.
*/
public correlationId: string;
/**
* The id of the flow node instance to which the log entry pertains.
*/
public flowNodeInstanceId?: string;
/**
* The log level.
*/
public flowNodeId?: string;
public logLevel: LogLevel;
/**
* The log message.
*/
public message: string;
/**
* The date and time at which the log entry was recorded..
*/
public timeStamp: Date;
}
/**
* Contains a list of possible log levels.
* Contains the definition of log levels.
*/
export enum LogLevel {
debug = 1,
info = 2,
warn = 4,
error = 8,
debug = 'debug',
info = 'info',
warn = 'warn',
error = 'error',
}

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc