From 97538b2a404a40e91146a8cd8b63ed6915d8b474 Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Mon, 8 Jun 2020 09:42:30 +0000 Subject: [PATCH] fix(core): update --- ts/index.ts | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/ts/index.ts b/ts/index.ts index 99df52e..581afc6 100644 --- a/ts/index.ts +++ b/ts/index.ts @@ -54,8 +54,22 @@ export interface ILogContext { } export interface ILogCorrelation { + /** + * a unique id for this log + */ id: string; - type: 'none' | 'group' | 'build' | 'requestchain' | 'job'; + /** + * the type of this log + */ + type: 'none' | 'service' | 'build' | 'infrastructure' | 'cdn'; + /** + * a series of logs + */ + group?: string; + /** + * a log that belongs to a transaction. E.g. a Payment or a request traveling through multiple backend instances + */ + transaction?: string; } /**