angular-toolbox 0.12.1 → 0.12.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/esm2022/lib/component/angular-toolbox-logo/angular-toolbox-logo.component.mjs +3 -3
- package/esm2022/lib/framework/logging/connector/console-log-connector.mjs +2 -2
- package/esm2022/lib/framework/logging/impl/log-impl.mjs +4 -1
- package/esm2022/lib/framework/logging/util/log.builder.mjs +2 -2
- package/esm2022/lib/framework/logging/util/log.util.mjs +3 -3
- package/esm2022/lib/framework/mock/http-monitoring-console/component/abstract/log-renderer-base.mjs +34 -0
- package/esm2022/lib/framework/mock/http-monitoring-console/component/console-footer/console-footer.component.mjs +16 -17
- package/esm2022/lib/framework/mock/http-monitoring-console/component/console-menu/console-menu.component.mjs +25 -15
- package/esm2022/lib/framework/mock/http-monitoring-console/component/http-monitoring-console/http-monitoring-console.component.mjs +41 -119
- package/esm2022/lib/framework/mock/http-monitoring-console/component/renderer/icon-renderer/icon-renderer.component.mjs +38 -13
- package/esm2022/lib/framework/mock/http-monitoring-console/component/renderer/json-viewer/json-viewer.component.mjs +15 -4
- package/esm2022/lib/framework/mock/http-monitoring-console/component/renderer/json-viewer-panel/json-viewer-panel.component.mjs +12 -4
- package/esm2022/lib/framework/mock/http-monitoring-console/component/renderer/payload-renderer/payload-renderer.component.mjs +36 -16
- package/esm2022/lib/framework/mock/http-monitoring-console/component/renderer/request-info-renderer/request-info-renderer.component.mjs +43 -0
- package/esm2022/lib/framework/mock/http-monitoring-console/component/renderer/request-list-renderer/request-list-renderer.component.mjs +116 -0
- package/esm2022/lib/framework/mock/http-monitoring-console/component/renderer/response-body-renderer/response-body-renderer.component.mjs +63 -24
- package/esm2022/lib/framework/mock/http-monitoring-console/component/renderer/response-preview-renderer/response-preview-renderer.component.mjs +72 -28
- package/esm2022/lib/framework/mock/http-monitoring-console/component/renderer/spinner/spinner.component.mjs +22 -0
- package/esm2022/lib/framework/mock/http-monitoring-console/component/renderer/timing-renderer/timing-renderer.component.mjs +53 -27
- package/esm2022/lib/framework/mock/http-monitoring-console/component/request-details/request-details.component.mjs +45 -21
- package/esm2022/lib/framework/mock/http-monitoring-console/connector/http-monitoring-console-log-connector.mjs +15 -8
- package/esm2022/lib/framework/mock/http-monitoring-console/index.mjs +1 -1
- package/esm2022/lib/framework/mock/http-monitoring-console/model/business/atx-console-action-type.mjs +27 -1
- package/esm2022/lib/framework/mock/http-monitoring-console/model/business/atx-console-action.mjs +1 -1
- package/esm2022/lib/framework/mock/http-monitoring-console/model/business/atx-console-json.mjs +1 -1
- package/esm2022/lib/framework/mock/http-monitoring-console/model/business/atx-is-imported-log.mjs +5 -1
- package/esm2022/lib/framework/mock/http-monitoring-console/model/business/atx-timeline-data.mjs +9 -0
- package/esm2022/lib/framework/mock/http-monitoring-console/model/business/io/atx-body-dto.mjs +1 -1
- package/esm2022/lib/framework/mock/http-monitoring-console/model/business/io/atx-header-dto.mjs +1 -1
- package/esm2022/lib/framework/mock/http-monitoring-console/model/business/io/atx-http-log-metadata.dto.mjs +1 -1
- package/esm2022/lib/framework/mock/http-monitoring-console/model/business/io/atx-http-log.dto.mjs +1 -1
- package/esm2022/lib/framework/mock/http-monitoring-console/model/business/io/atx-http-request-metadata.dto.ts.mjs +1 -1
- package/esm2022/lib/framework/mock/http-monitoring-console/model/business/io/atx-http-request.dto.mjs +1 -1
- package/esm2022/lib/framework/mock/http-monitoring-console/model/business/io/atx-http-response.dto.mjs +1 -1
- package/esm2022/lib/framework/mock/http-monitoring-console/model/business/io/hmfl.mjs +1 -1
- package/esm2022/lib/framework/mock/http-monitoring-console/model/service/atx-log-io.service.mjs +71 -43
- package/esm2022/lib/framework/mock/http-monitoring-console/model/service/atx-monitoring-console.controller.mjs +96 -0
- package/esm2022/lib/framework/mock/http-monitoring-console/model/service/atx-monitoring-console.state.mjs +126 -0
- package/esm2022/lib/framework/mock/http-monitoring-console/model/service/atx-user-action.service.mjs +40 -0
- package/esm2022/lib/framework/mock/http-monitoring-console/util/console-body-type.mjs +33 -1
- package/esm2022/lib/framework/mock/http-monitoring-console/util/console-type-class.mjs +29 -1
- package/esm2022/lib/framework/mock/http-monitoring-console/util/data.util.mjs +21 -1
- package/esm2022/lib/framework/mock/http-monitoring-console/util/io/body-converter.mjs +40 -0
- package/esm2022/lib/framework/mock/http-monitoring-console/util/io/body-serializer.mjs +58 -0
- package/esm2022/lib/framework/mock/http-monitoring-console/util/io/form-data-serializer.mjs +33 -0
- package/esm2022/lib/framework/mock/http-monitoring-console/util/io/hmfl-builder.mjs +27 -0
- package/esm2022/lib/framework/mock/http-monitoring-console/util/io/http-request-converter.mjs +62 -0
- package/esm2022/lib/framework/mock/http-monitoring-console/util/io/http-response-converter.mjs +50 -0
- package/esm2022/lib/framework/mock/http-monitoring-console/util/io/log-converter.mjs +43 -0
- package/esm2022/lib/framework/mock/http-monitoring-console/util/io/log-headers-converter.mjs +53 -0
- package/esm2022/lib/framework/mock/http-monitoring-console/util/io/log-message.util.mjs +30 -0
- package/esm2022/lib/framework/mock/http-monitoring-console/util/io/log-metadata-converter.mjs +45 -0
- package/esm2022/lib/framework/mock/http-monitoring-console/util/io/request-metadata-converter.mjs +47 -0
- package/esm2022/lib/framework/mock/http-monitoring-console/util/size.util.mjs +24 -2
- package/esm2022/lib/framework/mock/http-monitoring-console/util/timeline.util.mjs +28 -0
- package/esm2022/lib/framework/mock/http-monitoring-console/util/url.util.mjs +26 -1
- package/esm2022/lib/model/business/logging/atx-logger-config.provider.mjs +21 -0
- package/esm2022/lib/model/business/logging/index.mjs +3 -1
- package/esm2022/lib/model/business/logging/log-level.enum.mjs +1 -2
- package/esm2022/lib/model/business/logging/logger-config.mjs +9 -0
- package/esm2022/lib/model/business/logging/logger.mjs +1 -1
- package/esm2022/lib/model/business/logging/transactional-logger.mjs +1 -1
- package/esm2022/lib/model/business/mock/http/popup/atx-http-mock-console-popup.mjs +9 -0
- package/esm2022/lib/model/service/logging/logger-service.mjs +21 -4
- package/esm2022/lib/model/service/mock/http/logging/atx-http-mock-console.service.mjs +94 -0
- package/esm2022/lib/model/service/mock/http/logging/http-mock-logging-service.mjs +6 -3
- package/esm2022/lib/model/service/mock/http/logging/index.mjs +2 -1
- package/esm2022/lib/model/service/ui/app-bridge.service.mjs +1 -1
- package/esm2022/lib/model/service/version/angular-toolbox-version.service.mjs +3 -3
- package/fesm2022/angular-toolbox.mjs +3085 -1961
- package/fesm2022/angular-toolbox.mjs.map +1 -1
- package/lib/framework/logging/connector/console-log-connector.d.ts +1 -1
- package/lib/framework/logging/impl/log-impl.d.ts +3 -0
- package/lib/framework/logging/util/log.builder.d.ts +1 -1
- package/lib/framework/logging/util/log.util.d.ts +2 -2
- package/lib/framework/mock/http-monitoring-console/component/abstract/log-renderer-base.d.ts +28 -0
- package/lib/framework/mock/http-monitoring-console/component/console-footer/console-footer.component.d.ts +11 -4
- package/lib/framework/mock/http-monitoring-console/component/console-menu/console-menu.component.d.ts +18 -16
- package/lib/framework/mock/http-monitoring-console/component/http-monitoring-console/http-monitoring-console.component.d.ts +16 -37
- package/lib/framework/mock/http-monitoring-console/component/renderer/icon-renderer/icon-renderer.component.d.ts +20 -4
- package/lib/framework/mock/http-monitoring-console/component/renderer/json-viewer/json-viewer.component.d.ts +11 -0
- package/lib/framework/mock/http-monitoring-console/component/renderer/json-viewer-panel/json-viewer-panel.component.d.ts +8 -0
- package/lib/framework/mock/http-monitoring-console/component/renderer/payload-renderer/payload-renderer.component.d.ts +18 -11
- package/lib/framework/mock/http-monitoring-console/component/renderer/request-info-renderer/request-info-renderer.component.d.ts +25 -0
- package/lib/framework/mock/http-monitoring-console/component/renderer/request-list-renderer/request-list-renderer.component.d.ts +57 -0
- package/lib/framework/mock/http-monitoring-console/component/renderer/response-body-renderer/response-body-renderer.component.d.ts +27 -12
- package/lib/framework/mock/http-monitoring-console/component/renderer/response-preview-renderer/response-preview-renderer.component.d.ts +41 -7
- package/lib/framework/mock/http-monitoring-console/component/renderer/spinner/spinner.component.d.ts +9 -0
- package/lib/framework/mock/http-monitoring-console/component/renderer/timing-renderer/timing-renderer.component.d.ts +29 -3
- package/lib/framework/mock/http-monitoring-console/component/request-details/request-details.component.d.ts +36 -12
- package/lib/framework/mock/http-monitoring-console/connector/http-monitoring-console-log-connector.d.ts +10 -5
- package/lib/framework/mock/http-monitoring-console/model/business/atx-console-action-type.d.ts +27 -1
- package/lib/framework/mock/http-monitoring-console/model/business/atx-console-action.d.ts +12 -0
- package/lib/framework/mock/http-monitoring-console/model/business/atx-console-json.d.ts +20 -0
- package/lib/framework/mock/http-monitoring-console/model/business/atx-is-imported-log.d.ts +4 -0
- package/lib/framework/mock/http-monitoring-console/model/business/atx-timeline-data.d.ts +21 -0
- package/lib/framework/mock/http-monitoring-console/model/business/io/atx-body-dto.d.ts +14 -1
- package/lib/framework/mock/http-monitoring-console/model/business/io/atx-header-dto.d.ts +12 -0
- package/lib/framework/mock/http-monitoring-console/model/business/io/atx-http-log-metadata.dto.d.ts +14 -1
- package/lib/framework/mock/http-monitoring-console/model/business/io/atx-http-log.dto.d.ts +7 -0
- package/lib/framework/mock/http-monitoring-console/model/business/io/atx-http-request-metadata.dto.ts.d.ts +6 -0
- package/lib/framework/mock/http-monitoring-console/model/business/io/atx-http-request.dto.d.ts +38 -1
- package/lib/framework/mock/http-monitoring-console/model/business/io/atx-http-response.dto.d.ts +26 -1
- package/lib/framework/mock/http-monitoring-console/model/business/io/hmfl.d.ts +12 -0
- package/lib/framework/mock/http-monitoring-console/model/service/atx-log-io.service.d.ts +24 -2
- package/lib/framework/mock/http-monitoring-console/model/service/atx-monitoring-console.controller.d.ts +55 -0
- package/lib/framework/mock/http-monitoring-console/model/service/atx-monitoring-console.state.d.ts +75 -0
- package/lib/framework/mock/http-monitoring-console/model/service/atx-user-action.service.d.ts +32 -0
- package/lib/framework/mock/http-monitoring-console/util/console-body-type.d.ts +32 -0
- package/lib/framework/mock/http-monitoring-console/util/console-type-class.d.ts +28 -0
- package/lib/framework/mock/http-monitoring-console/util/data.util.d.ts +20 -0
- package/lib/framework/mock/http-monitoring-console/util/io/body-converter.d.ts +30 -0
- package/lib/framework/mock/http-monitoring-console/util/io/body-serializer.d.ts +32 -0
- package/lib/framework/mock/http-monitoring-console/util/io/form-data-serializer.d.ts +21 -0
- package/lib/framework/mock/http-monitoring-console/util/io/hmfl-builder.d.ts +23 -0
- package/lib/framework/mock/http-monitoring-console/util/io/http-request-converter.d.ts +31 -0
- package/lib/framework/mock/http-monitoring-console/util/io/http-response-converter.d.ts +31 -0
- package/lib/framework/mock/http-monitoring-console/util/io/log-converter.d.ts +31 -0
- package/lib/framework/mock/http-monitoring-console/util/io/log-headers-converter.d.ts +31 -0
- package/lib/framework/mock/http-monitoring-console/util/io/log-message.util.d.ts +23 -0
- package/lib/framework/mock/http-monitoring-console/util/io/log-metadata-converter.d.ts +31 -0
- package/lib/framework/mock/http-monitoring-console/util/io/request-metadata-converter.d.ts +31 -0
- package/lib/framework/mock/http-monitoring-console/util/size.util.d.ts +22 -0
- package/lib/framework/mock/http-monitoring-console/util/timeline.util.d.ts +23 -0
- package/lib/framework/mock/http-monitoring-console/util/url.util.d.ts +25 -0
- package/lib/model/business/logging/atx-logger-config.provider.d.ts +21 -0
- package/lib/model/business/logging/index.d.ts +2 -0
- package/lib/model/business/logging/log-level.enum.d.ts +0 -1
- package/lib/model/business/logging/logger-config.d.ts +17 -0
- package/lib/model/business/logging/logger.d.ts +5 -5
- package/lib/model/business/logging/transactional-logger.d.ts +1 -1
- package/lib/model/business/mock/http/popup/atx-http-mock-console-popup.d.ts +23 -0
- package/lib/model/service/logging/logger-service.d.ts +6 -1
- package/lib/model/service/mock/http/logging/atx-http-mock-console.service.d.ts +53 -0
- package/lib/model/service/mock/http/logging/http-mock-logging-service.d.ts +1 -0
- package/lib/model/service/mock/http/logging/index.d.ts +1 -0
- package/package.json +1 -1
- package/esm2022/lib/framework/mock/http-monitoring-console/model/service/io/body-converter.mjs +0 -22
- package/esm2022/lib/framework/mock/http-monitoring-console/model/service/io/body-serializer.mjs +0 -47
- package/esm2022/lib/framework/mock/http-monitoring-console/model/service/io/http-request-converter.mjs +0 -44
- package/esm2022/lib/framework/mock/http-monitoring-console/model/service/io/http-response-converter.mjs +0 -32
- package/esm2022/lib/framework/mock/http-monitoring-console/model/service/io/log-converter.mjs +0 -31
- package/esm2022/lib/framework/mock/http-monitoring-console/model/service/io/log-headers-converter.mjs +0 -35
- package/esm2022/lib/framework/mock/http-monitoring-console/model/service/io/log-message.util.mjs +0 -19
- package/esm2022/lib/framework/mock/http-monitoring-console/model/service/io/log-metadata-converter.mjs +0 -27
- package/esm2022/lib/framework/mock/http-monitoring-console/model/service/io/request-metadata-converter.mjs +0 -29
- package/lib/framework/mock/http-monitoring-console/model/service/io/body-converter.d.ts +0 -12
- package/lib/framework/mock/http-monitoring-console/model/service/io/body-serializer.d.ts +0 -13
- package/lib/framework/mock/http-monitoring-console/model/service/io/http-request-converter.d.ts +0 -13
- package/lib/framework/mock/http-monitoring-console/model/service/io/http-response-converter.d.ts +0 -13
- package/lib/framework/mock/http-monitoring-console/model/service/io/log-converter.d.ts +0 -13
- package/lib/framework/mock/http-monitoring-console/model/service/io/log-headers-converter.d.ts +0 -13
- package/lib/framework/mock/http-monitoring-console/model/service/io/log-message.util.d.ts +0 -12
- package/lib/framework/mock/http-monitoring-console/model/service/io/log-metadata-converter.d.ts +0 -13
- package/lib/framework/mock/http-monitoring-console/model/service/io/request-metadata-converter.d.ts +0 -13
|
@@ -5,11 +5,39 @@
|
|
|
5
5
|
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
6
|
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
7
|
*/
|
|
8
|
+
/**
|
|
9
|
+
* @private
|
|
10
|
+
* The list of CSS class types for rendered objects.
|
|
11
|
+
*/
|
|
8
12
|
export declare enum ConsoleTypeClass {
|
|
13
|
+
/**
|
|
14
|
+
* @private
|
|
15
|
+
* The class type for JS vanilla objects.
|
|
16
|
+
*/
|
|
9
17
|
OBJECT = "atx-object",
|
|
18
|
+
/**
|
|
19
|
+
* @private
|
|
20
|
+
* The class type for JS string primitives.
|
|
21
|
+
*/
|
|
10
22
|
STRING = "atx-string",
|
|
23
|
+
/**
|
|
24
|
+
* @private
|
|
25
|
+
* The class type for JS number primitives.
|
|
26
|
+
*/
|
|
11
27
|
NUMBER = "atx-number",
|
|
28
|
+
/**
|
|
29
|
+
* @private
|
|
30
|
+
* The class type for JS boolean primitives.
|
|
31
|
+
*/
|
|
12
32
|
BOOLEAN = "atx-boolean",
|
|
33
|
+
/**
|
|
34
|
+
* @private
|
|
35
|
+
* The class type for JS Arrays.
|
|
36
|
+
*/
|
|
13
37
|
ARRAY = "atx-array",
|
|
38
|
+
/**
|
|
39
|
+
* @private
|
|
40
|
+
* The class type for the JS `null` type.
|
|
41
|
+
*/
|
|
14
42
|
NULL = "atx-null"
|
|
15
43
|
}
|
|
@@ -7,7 +7,27 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { AtxConsoleJson } from '../model/business/atx-console-json';
|
|
9
9
|
import { ConsoleBodyType } from './console-body-type';
|
|
10
|
+
/**
|
|
11
|
+
* @private
|
|
12
|
+
* A utility class for managing metadata objects.
|
|
13
|
+
*/
|
|
10
14
|
export declare class DataUtil {
|
|
15
|
+
/**
|
|
16
|
+
* @private
|
|
17
|
+
* Parses the specified object and returns a `AtxConsoleJson` tree that represents
|
|
18
|
+
* the structure of parsed object.
|
|
19
|
+
*
|
|
20
|
+
* @param obj The object to parse.
|
|
21
|
+
* @param label An optional `label` used to set the label property of the `AtxConsoleJson` object.
|
|
22
|
+
* @returns a `AtxConsoleJson` tree object.
|
|
23
|
+
*/
|
|
11
24
|
static parseJson(obj: any, label?: string): AtxConsoleJson;
|
|
25
|
+
/**
|
|
26
|
+
* @private
|
|
27
|
+
* Returns a constant of the ConsoleBodyType enum, depending on the type of the specified object.
|
|
28
|
+
*
|
|
29
|
+
* @param obj The object for wich to get the type.
|
|
30
|
+
* @returns A constant of the ConsoleBodyType enum.
|
|
31
|
+
*/
|
|
12
32
|
static getBodyType(obj: any): ConsoleBodyType;
|
|
13
33
|
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
+
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
+
*/
|
|
8
|
+
import { AtxBodyDto } from "../../model/business/io/atx-body-dto";
|
|
9
|
+
/**
|
|
10
|
+
* @private
|
|
11
|
+
* A utility class that performs conversions between JavaScript objects and `AtxBodyDto` objects.
|
|
12
|
+
*/
|
|
13
|
+
export declare class BodyConverter {
|
|
14
|
+
/**
|
|
15
|
+
* @private
|
|
16
|
+
* Turns a JavaScript object into an `AtxBodyDto` object and returns the result of the conversion.
|
|
17
|
+
*
|
|
18
|
+
* @param body The JavaScript object to convert.
|
|
19
|
+
* @returns An `AtxBodyDto` object.
|
|
20
|
+
*/
|
|
21
|
+
static bodyToDto(body: any): AtxBodyDto;
|
|
22
|
+
/**
|
|
23
|
+
* @private
|
|
24
|
+
* Turns an `AtxBodyDto` object into a JavaScript object and returns the result of the conversion.
|
|
25
|
+
*
|
|
26
|
+
* @param dto The `AtxBodyDto` object to convert.
|
|
27
|
+
* @returns A JavaScript object.
|
|
28
|
+
*/
|
|
29
|
+
static dtoToBody(dto: AtxBodyDto): any;
|
|
30
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
+
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
+
*/
|
|
8
|
+
import { ConsoleBodyType } from "../console-body-type";
|
|
9
|
+
/**
|
|
10
|
+
* @private
|
|
11
|
+
* A utility class that serialize and unserialize the objects rendered into the monitoring console.
|
|
12
|
+
*/
|
|
13
|
+
export declare class BodySerializer {
|
|
14
|
+
/**
|
|
15
|
+
* @private
|
|
16
|
+
* Serializes the specified object depending on the `type` parameter.
|
|
17
|
+
*
|
|
18
|
+
* @param data The object to serialize.
|
|
19
|
+
* @param type The type of the object to serialize.
|
|
20
|
+
* @returns A string, or `null` whether the object type is not supported.
|
|
21
|
+
*/
|
|
22
|
+
static serialize(data: any, type: ConsoleBodyType): string | null;
|
|
23
|
+
/**
|
|
24
|
+
* @private
|
|
25
|
+
* Unserializes the specified string depending on the `type` parameter.
|
|
26
|
+
*
|
|
27
|
+
* @param data The string to unserialize.
|
|
28
|
+
* @param type The type of the object to unserialize.
|
|
29
|
+
* @returns An object, or `null` whether the object type is not supported.
|
|
30
|
+
*/
|
|
31
|
+
static unserialize(data: any, type: ConsoleBodyType): any;
|
|
32
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
+
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* @private
|
|
10
|
+
* A utility class that unserialize the `FormData` objects.
|
|
11
|
+
*/
|
|
12
|
+
export declare class FormDataSerializer {
|
|
13
|
+
/**
|
|
14
|
+
* @private
|
|
15
|
+
* Unserializes the specified `FormData` objects.
|
|
16
|
+
*
|
|
17
|
+
* @param data The string to turn into a `FormData` object.
|
|
18
|
+
* @returns A `FormData` object, or null whether the `data` string is not a Array string.
|
|
19
|
+
*/
|
|
20
|
+
static unserialize(data: string): FormData | null;
|
|
21
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
+
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
+
*/
|
|
8
|
+
import { AtxHttpLogDto } from "../../model/business/io/atx-http-log.dto";
|
|
9
|
+
import { HMFL } from "../../model/business/io/hmfl";
|
|
10
|
+
/**
|
|
11
|
+
* @private
|
|
12
|
+
* A utility class that creates `HMFL` objects.
|
|
13
|
+
*/
|
|
14
|
+
export declare class HMFLBuilder {
|
|
15
|
+
/**
|
|
16
|
+
* @private
|
|
17
|
+
* Creates and returns a new `HMFL` object.
|
|
18
|
+
*
|
|
19
|
+
* @param logDtoList The list of serialized logs to include in the new `HMFL` object.
|
|
20
|
+
* @returns A new `HMFL` object.
|
|
21
|
+
*/
|
|
22
|
+
static build(logDtoList: AtxHttpLogDto[]): HMFL;
|
|
23
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
+
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
+
*/
|
|
8
|
+
import { HttpRequest } from "@angular/common/http";
|
|
9
|
+
import { AtxHttpRequestDto } from "../../model/business/io/atx-http-request.dto";
|
|
10
|
+
/**
|
|
11
|
+
* @private
|
|
12
|
+
* A utility class that converts `HttpRequest` instances into `AtxHttpRequestDto` objects.
|
|
13
|
+
*/
|
|
14
|
+
export declare class HttpRequestConverter {
|
|
15
|
+
/**
|
|
16
|
+
* @private
|
|
17
|
+
* Converts a `HttpRequest` instance into an `AtxHttpRequestDto` object.
|
|
18
|
+
*
|
|
19
|
+
* @param request The `HttpRequest` instance to convert.
|
|
20
|
+
* @returns A new `AtxHttpRequestDto` object.
|
|
21
|
+
*/
|
|
22
|
+
static buildRequestDto(request: HttpRequest<any>): AtxHttpRequestDto;
|
|
23
|
+
/**
|
|
24
|
+
* @private
|
|
25
|
+
* Converts an `AtxHttpRequestDto` object into a `HttpRequest` instance.
|
|
26
|
+
*
|
|
27
|
+
* @param dto The `AtxHttpRequestDto` object to convert.
|
|
28
|
+
* @returns A new `HttpRequest` instance.
|
|
29
|
+
*/
|
|
30
|
+
static buildHttpRequest(dto: AtxHttpRequestDto): HttpRequest<any>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
+
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
+
*/
|
|
8
|
+
import { HttpResponse } from "@angular/common/http";
|
|
9
|
+
import { AtxHttpResponseDto } from "../../model/business/io/atx-http-response.dto";
|
|
10
|
+
/**
|
|
11
|
+
* @private
|
|
12
|
+
* A utility class that converts `HttpResponse` instances into `AtxHttpResponseDto` objects.
|
|
13
|
+
*/
|
|
14
|
+
export declare class HttpResponseConverter {
|
|
15
|
+
/**
|
|
16
|
+
* @private
|
|
17
|
+
* Converts a `HttpResponse` instance into an `AtxHttpResponseDto` object.
|
|
18
|
+
*
|
|
19
|
+
* @param response The `HttpResponse` instance to convert.
|
|
20
|
+
* @returns A new `AtxHttpResponseDto` object.
|
|
21
|
+
*/
|
|
22
|
+
static buildResponseDto(response: HttpResponse<any>): AtxHttpResponseDto;
|
|
23
|
+
/**
|
|
24
|
+
* @private
|
|
25
|
+
* Converts an `AtxHttpResponseDto` object into a `HttpResponse` instance.
|
|
26
|
+
*
|
|
27
|
+
* @param dto The `AtxHttpResponseDto` object to convert.
|
|
28
|
+
* @returns A new `HttpResponse` instance.
|
|
29
|
+
*/
|
|
30
|
+
static buildHttpResponse(dto: AtxHttpResponseDto): HttpResponse<any>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
+
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
+
*/
|
|
8
|
+
import { Log } from "../../../../../model";
|
|
9
|
+
import { AtxHttpLogDto } from "../../model/business/io/atx-http-log.dto";
|
|
10
|
+
/**
|
|
11
|
+
* @private
|
|
12
|
+
* A utility class that converts `Log` objects into `AtxHttpLogDto` objects.
|
|
13
|
+
*/
|
|
14
|
+
export declare class LogConverter {
|
|
15
|
+
/**
|
|
16
|
+
* @private
|
|
17
|
+
* Converts a `object` object into an `AtxHttpLogDto` object.
|
|
18
|
+
*
|
|
19
|
+
* @param log The `Log` object to convert.
|
|
20
|
+
* @returns A new `AtxHttpLogDto` object.
|
|
21
|
+
*/
|
|
22
|
+
static logToDto(log: Log): AtxHttpLogDto;
|
|
23
|
+
/**
|
|
24
|
+
* @private
|
|
25
|
+
* Converts an `AtxHttpLogDto` object into a `Log` object.
|
|
26
|
+
*
|
|
27
|
+
* @param dto The `AtxHttpLogDto` object to convert.
|
|
28
|
+
* @returns A new `Log` object.
|
|
29
|
+
*/
|
|
30
|
+
static dtoToLog(dto: AtxHttpLogDto): Log;
|
|
31
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
+
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
+
*/
|
|
8
|
+
import { HttpHeaders } from "@angular/common/http";
|
|
9
|
+
import { AtxHeaderDto } from "../../model/business/io/atx-header-dto";
|
|
10
|
+
/**
|
|
11
|
+
* @private
|
|
12
|
+
* A utility class that converts `HttpHeaders` instances into lists of `AtxHeaderDto` objects.
|
|
13
|
+
*/
|
|
14
|
+
export declare class HttpHeadersConverter {
|
|
15
|
+
/**
|
|
16
|
+
* @private
|
|
17
|
+
* Converts a `HttpHeaders` instance into a list of `AtxHeaderDto` object.
|
|
18
|
+
*
|
|
19
|
+
* @param headers The `HttpHeaders` instance to convert.
|
|
20
|
+
* @returns A new `AtxHeaderDto` object.
|
|
21
|
+
*/
|
|
22
|
+
static headersToDto(headers: HttpHeaders): AtxHeaderDto[];
|
|
23
|
+
/**
|
|
24
|
+
* @private
|
|
25
|
+
* Converts a list of `AtxHeaderDto` objects into a `HttpHeaders` instance.
|
|
26
|
+
*
|
|
27
|
+
* @param headersDto The list of `AtxHeaderDto` objects to convert.
|
|
28
|
+
* @returns A new `HttpHeaders` instance.
|
|
29
|
+
*/
|
|
30
|
+
static dtoToHeaders(headersDto: AtxHeaderDto[]): HttpHeaders;
|
|
31
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
+
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
+
*/
|
|
8
|
+
import { HttpMockLoggingConstant } from "../../../../../model/business/logging/http-mock-logging-constant.enum";
|
|
9
|
+
import { LogLevel } from "../../../../../model";
|
|
10
|
+
/**
|
|
11
|
+
* @private
|
|
12
|
+
* A utility class that returns a human-readable message depending on the specified level.
|
|
13
|
+
*/
|
|
14
|
+
export declare class LogMessageUtil {
|
|
15
|
+
/**
|
|
16
|
+
* @private
|
|
17
|
+
* Returns a human-readable message depending on the specified level.
|
|
18
|
+
*
|
|
19
|
+
* @param level The level for which to get the message.
|
|
20
|
+
* @returns A string.
|
|
21
|
+
*/
|
|
22
|
+
static getMessageFromLevel(level: LogLevel): HttpMockLoggingConstant;
|
|
23
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
+
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
+
*/
|
|
8
|
+
import { HttpMockLoggingMetadata } from "../../../../../model";
|
|
9
|
+
import { AtxHttpLogMetadataDto } from "../../model/business/io/atx-http-log-metadata.dto";
|
|
10
|
+
/**
|
|
11
|
+
* @private
|
|
12
|
+
* A utility class that converts `HttpMockLoggingMetadata` objects into `AtxHttpLogMetadataDto` objects.
|
|
13
|
+
*/
|
|
14
|
+
export declare class LogMetadataConverter {
|
|
15
|
+
/**
|
|
16
|
+
* @private
|
|
17
|
+
* Converts a `HttpMockLoggingMetadata` object into an `AtxHttpLogMetadataDto` object.
|
|
18
|
+
*
|
|
19
|
+
* @param headers The `HttpMockLoggingMetadata` object to convert.
|
|
20
|
+
* @returns A new `AtxHttpLogMetadataDto` object.
|
|
21
|
+
*/
|
|
22
|
+
static metadataToDto(metadata: HttpMockLoggingMetadata): AtxHttpLogMetadataDto;
|
|
23
|
+
/**
|
|
24
|
+
* @private
|
|
25
|
+
* Converts an `AtxHttpLogMetadataDto` object into a `HttpMockLoggingMetadata` object.
|
|
26
|
+
*
|
|
27
|
+
* @param headersDto The `AtxHttpLogMetadataDto` objects to convert.
|
|
28
|
+
* @returns A new `HttpMockLoggingMetadata` objects.
|
|
29
|
+
*/
|
|
30
|
+
static dtoToMetadata(dto: AtxHttpLogMetadataDto): HttpMockLoggingMetadata;
|
|
31
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
+
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
+
*/
|
|
8
|
+
import { HttpMockRequestMetadata } from "../../../../../model";
|
|
9
|
+
import { AtxHttpRequestMetadataDto } from "../../model/business/io/atx-http-request-metadata.dto.ts";
|
|
10
|
+
/**
|
|
11
|
+
* @private
|
|
12
|
+
* A utility class that converts `HttpMockRequestMetadata` objects into `AtxHttpRequestMetadataDto` objects.
|
|
13
|
+
*/
|
|
14
|
+
export declare class RequestMetadataConverter {
|
|
15
|
+
/**
|
|
16
|
+
* @private
|
|
17
|
+
* Converts a `HttpMockRequestMetadata` object into an `AtxHttpRequestMetadataDto` object.
|
|
18
|
+
*
|
|
19
|
+
* @param headers The `HttpMockRequestMetadata` object to convert.
|
|
20
|
+
* @returns A new `AtxHttpRequestMetadataDto` object.
|
|
21
|
+
*/
|
|
22
|
+
static requestMetadataToDto(metadata: HttpMockRequestMetadata): AtxHttpRequestMetadataDto;
|
|
23
|
+
/**
|
|
24
|
+
* @private
|
|
25
|
+
* Converts an `AtxHttpRequestMetadataDto` object into a `HttpMockRequestMetadata` object.
|
|
26
|
+
*
|
|
27
|
+
* @param headersDto The `AtxHttpRequestMetadataDto` objects to convert.
|
|
28
|
+
* @returns A new `HttpMockRequestMetadata` objects.
|
|
29
|
+
*/
|
|
30
|
+
static dtoToRequestMetadata(dto: AtxHttpRequestMetadataDto): HttpMockRequestMetadata;
|
|
31
|
+
}
|
|
@@ -5,7 +5,29 @@
|
|
|
5
5
|
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
6
|
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
7
|
*/
|
|
8
|
+
/**
|
|
9
|
+
* @private
|
|
10
|
+
* A utility class for managing request data size.
|
|
11
|
+
*/
|
|
8
12
|
export declare class SizeUtil {
|
|
13
|
+
/**
|
|
14
|
+
* The string reference to the initial data size.
|
|
15
|
+
*/
|
|
16
|
+
static readonly INITIAL_SIZE: string;
|
|
17
|
+
/**
|
|
18
|
+
* @private
|
|
19
|
+
* Returns the size of the specified object in bytes.
|
|
20
|
+
*
|
|
21
|
+
* @param obj The object for which to get the size.
|
|
22
|
+
* @returns The size of the specified object.
|
|
23
|
+
*/
|
|
9
24
|
static getSize(obj: any): number;
|
|
25
|
+
/**
|
|
26
|
+
* @private
|
|
27
|
+
*
|
|
28
|
+
* Returns the string representation of the specified size.
|
|
29
|
+
* @param size The size, in bytes, for which to get the string representation.
|
|
30
|
+
* @returns The string representation of the specified size.
|
|
31
|
+
*/
|
|
10
32
|
static sizeToString(size: number): string;
|
|
11
33
|
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
+
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
+
*/
|
|
8
|
+
import { HttpMockRequestMetadata } from "../../../../model";
|
|
9
|
+
import { AtxTimelineData } from "../model/business/atx-timeline-data";
|
|
10
|
+
/**
|
|
11
|
+
* @private
|
|
12
|
+
* A utility class for computing the timeline data of an HTTP request.
|
|
13
|
+
*/
|
|
14
|
+
export declare class TimelineUtil {
|
|
15
|
+
/**
|
|
16
|
+
* @private
|
|
17
|
+
* Returns the timeline data for the specified HTTP log.
|
|
18
|
+
*
|
|
19
|
+
* @param metadata The HTTP metadata for which to get the timeline data.
|
|
20
|
+
* @returns A `AtxTimelineData` object.
|
|
21
|
+
*/
|
|
22
|
+
static getTimelineData(metadata: HttpMockRequestMetadata): AtxTimelineData;
|
|
23
|
+
}
|
|
@@ -6,8 +6,33 @@
|
|
|
6
6
|
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
7
|
*/
|
|
8
8
|
import { Log } from "../../../../model";
|
|
9
|
+
/**
|
|
10
|
+
* @private
|
|
11
|
+
* A utility class for managing request resources path.
|
|
12
|
+
*/
|
|
9
13
|
export declare class UrlUtil {
|
|
14
|
+
/**
|
|
15
|
+
* @private
|
|
16
|
+
* Returns the resource name from the specified HTTP log.
|
|
17
|
+
*
|
|
18
|
+
* @param log The HTTP log for which to get the resource name.
|
|
19
|
+
* @returns A string that represents the resource name of the specified HTTP log.
|
|
20
|
+
*/
|
|
10
21
|
static getResourceName(log: Log): string;
|
|
22
|
+
/**
|
|
23
|
+
* @private
|
|
24
|
+
* Returns the resource name from the specified URL path.
|
|
25
|
+
*
|
|
26
|
+
* @param pathname The URL path for which to get the resource name.
|
|
27
|
+
* @returns A string that represents the resource name of the specified URL path.
|
|
28
|
+
*/
|
|
11
29
|
static getResourceNameFromPath(pathname: string): string;
|
|
30
|
+
/**
|
|
31
|
+
* @private
|
|
32
|
+
* Returns the resource path from the specified HTTP log.
|
|
33
|
+
*
|
|
34
|
+
* @param log The HTTP log for which to get the resource path.
|
|
35
|
+
* @returns A string that represents the resource path of the specified HTTP log.
|
|
36
|
+
*/
|
|
12
37
|
static getResourcePath(log: Log): string;
|
|
13
38
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
+
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
+
*/
|
|
8
|
+
import { LoggerConfig } from "./logger-config";
|
|
9
|
+
/**
|
|
10
|
+
* The default provider for the `LoggerService` configuration. You typically define
|
|
11
|
+
* the custom properties in the main NgModule declaration to initialize the logger:
|
|
12
|
+
*
|
|
13
|
+
* @NgModule({
|
|
14
|
+
* ...
|
|
15
|
+
* providers: [
|
|
16
|
+
* { provide: ATX_LOGGER_CONFIG, useValue: { dataConnector: new ConsoleLogConnector() } }
|
|
17
|
+
* ],
|
|
18
|
+
* ...
|
|
19
|
+
* });
|
|
20
|
+
*/
|
|
21
|
+
export declare const ATX_LOGGER_CONFIG: LoggerConfig;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
+
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
+
*/
|
|
8
|
+
import { LogConnector } from "./log-connector";
|
|
9
|
+
/**
|
|
10
|
+
* Defines properties for the `LoggerService` configuration.
|
|
11
|
+
*/
|
|
12
|
+
export interface LoggerConfig {
|
|
13
|
+
/**
|
|
14
|
+
* Defines the log connector of the `LoggerService` singleton.
|
|
15
|
+
*/
|
|
16
|
+
logConnector?: LogConnector;
|
|
17
|
+
}
|
|
@@ -24,7 +24,7 @@ export interface Logger {
|
|
|
24
24
|
*
|
|
25
25
|
* @param caller The reference to the caller that sends the log.
|
|
26
26
|
* @param message The log message.
|
|
27
|
-
* @param metadata
|
|
27
|
+
* @param metadata Optional metadata associated with this log.
|
|
28
28
|
*/
|
|
29
29
|
info(caller: string | any, message: string, metadata?: any): void;
|
|
30
30
|
/**
|
|
@@ -32,7 +32,7 @@ export interface Logger {
|
|
|
32
32
|
*
|
|
33
33
|
* @param caller The reference to the caller that sends the log.
|
|
34
34
|
* @param message The log message.
|
|
35
|
-
* @param metadata
|
|
35
|
+
* @param metadata Optional metadata associated with this log.
|
|
36
36
|
*/
|
|
37
37
|
config(caller: string | any, message: string, metadata?: any): void;
|
|
38
38
|
/**
|
|
@@ -40,15 +40,15 @@ export interface Logger {
|
|
|
40
40
|
*
|
|
41
41
|
* @param caller The reference to the caller that sends the log.
|
|
42
42
|
* @param message The log message.
|
|
43
|
-
* @param metadata
|
|
43
|
+
* @param metadata Optional metadata associated with this log.
|
|
44
44
|
*/
|
|
45
45
|
error(caller: string | any, message: string, metadata?: any): void;
|
|
46
46
|
/**
|
|
47
|
-
* Sends
|
|
47
|
+
* Sends a warning log to the service.
|
|
48
48
|
*
|
|
49
49
|
* @param caller The reference to the caller that sends the log.
|
|
50
50
|
* @param message The log message.
|
|
51
|
-
* @param metadata
|
|
51
|
+
* @param metadata Optional metadata associated with this log.
|
|
52
52
|
*/
|
|
53
53
|
warn(caller: string | any, message: string, metadata?: any): void;
|
|
54
54
|
/**
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import { Destroyable } from "../lang";
|
|
9
9
|
import { LogConnector } from "./log-connector";
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Transactional loggers allow to create proxy via the `LogConnector` interface
|
|
12
12
|
* to send logs to third-party tools.
|
|
13
13
|
*/
|
|
14
14
|
export interface TransactionalLogger extends Destroyable {
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Use of this source code is governed by an MIT-style license that can be found in
|
|
6
|
+
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
7
|
+
*/
|
|
8
|
+
import { ComponentRef } from "@angular/core";
|
|
9
|
+
import { AtxMonitoringConsoleComponent } from "../../../../../framework";
|
|
10
|
+
/**
|
|
11
|
+
* The `AtxHttpMockConsolePopup` interface provides component references for
|
|
12
|
+
* the ATX monitoring console objects created with the `AtxHttpMockConsoleService` class.
|
|
13
|
+
*/
|
|
14
|
+
export interface AtxHttpMockConsolePopup {
|
|
15
|
+
/**
|
|
16
|
+
* The reference to a popup window created with the `AtxHttpMockConsoleService` class.
|
|
17
|
+
*/
|
|
18
|
+
popup: Window;
|
|
19
|
+
/**
|
|
20
|
+
* The reference to a `AtxMonitoringConsoleComponent` instance created with the `AtxHttpMockConsoleService` class.
|
|
21
|
+
*/
|
|
22
|
+
componentRef: ComponentRef<AtxMonitoringConsoleComponent>;
|
|
23
|
+
}
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import { AbstractLogger } from "../../../framework";
|
|
2
|
+
import { LoggerConfig } from "../../business";
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
/**
|
|
4
5
|
* A convenient high-level singleton that implements the `Logger` interface.
|
|
5
6
|
*/
|
|
6
7
|
export declare class LoggerService extends AbstractLogger {
|
|
7
|
-
|
|
8
|
+
/**
|
|
9
|
+
* @private
|
|
10
|
+
*/
|
|
11
|
+
constructor(config: LoggerConfig);
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoggerService, [{ optional: true; }]>;
|
|
8
13
|
static ɵprov: i0.ɵɵInjectableDeclaration<LoggerService>;
|
|
9
14
|
}
|