@process-engine/logging_api_contracts
Advanced tools
Comparing version 0.0.1-9465bdbc-b6 to 0.0.1-995a9ba8-b18
@@ -8,3 +8,5 @@ "use strict"; | ||
__export(require("./log_level")); | ||
__export(require("./rest_settings")); | ||
__export(require("./write_log_request_payload")); | ||
//# sourceMappingURL=index.js.map |
@@ -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-9465bdbc-b6", | ||
"version": "0.0.1-995a9ba8-b18", | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28178
37
433
1