Function mergeLoggableModels

  • Merge a list of AbstractLogger into a single IJson. This method will first break-down the input into 3 different lists:

    1. Create a list of KV from the input of loggables
    2. Create a list of IJson from remaining input of loggables
    3. Create a list of values where loggables are not an object

    It then perform merging by using following steps (note that later entry overwrtes previous ones):

    1. Merge list of IJson to output
    2. Merge first the list of KV using mergeKV and then merge the result into output
    3. Return data as IJson and values as list of TJsonValue

    Note: The values is expected to already return empty as those should have been filtered out by JLogger.extractData method.

    Returns

    Type Parameters

    Parameters

    Returns {
        loggableJson: IJson;
        loggableValues: TJsonValue[];
    }

Generated using TypeDoc