ng2-logger 13.1.20 → 13.1.21
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 +192 -192
- package/assets/shared/shared_folder_info.txt +1 -1
- package/browser/README.md +24 -24
- package/browser/esm2020/lib/backend-logging.mjs +93 -93
- package/browser/esm2020/lib/display.mjs +96 -96
- package/browser/esm2020/lib/index.mjs +6 -6
- package/browser/esm2020/lib/level.mjs +32 -32
- package/browser/esm2020/lib/log.mjs +160 -160
- package/browser/esm2020/lib/logger.mjs +236 -236
- package/browser/esm2020/ng2-logger.mjs +4 -4
- package/browser/esm2020/public-api.mjs +1 -1
- package/browser/fesm2015/ng2-logger.mjs +514 -514
- package/browser/fesm2020/ng2-logger.mjs +514 -514
- package/browser/lib/backend-logging.d.ts +3 -3
- package/browser/lib/display.d.ts +3 -3
- package/browser/lib/index.d.ts +3 -3
- package/browser/lib/level.d.ts +20 -20
- package/browser/lib/log.d.ts +24 -24
- package/browser/lib/logger.d.ts +80 -80
- package/browser/ng2-logger.d.ts +4 -4
- package/client/README.md +24 -24
- package/client/esm2020/lib/backend-logging.mjs +93 -93
- package/client/esm2020/lib/display.mjs +96 -96
- package/client/esm2020/lib/index.mjs +6 -6
- package/client/esm2020/lib/level.mjs +32 -32
- package/client/esm2020/lib/log.mjs +160 -160
- package/client/esm2020/lib/logger.mjs +236 -236
- package/client/esm2020/ng2-logger.mjs +4 -4
- package/client/esm2020/public-api.mjs +1 -1
- package/client/fesm2015/ng2-logger.mjs +514 -514
- package/client/fesm2020/ng2-logger.mjs +514 -514
- package/client/lib/backend-logging.d.ts +3 -3
- package/client/lib/display.d.ts +3 -3
- package/client/lib/index.d.ts +3 -3
- package/client/lib/level.d.ts +20 -20
- package/client/lib/log.d.ts +24 -24
- package/client/lib/logger.d.ts +80 -80
- package/client/ng2-logger.d.ts +4 -4
- package/client/package.json +30 -31
- package/index.d.ts +1 -1
- package/lib/backend-logging.d.ts +4 -4
- package/lib/display.d.ts +4 -4
- package/lib/index.d.ts +4 -4
- package/lib/level.d.ts +21 -21
- package/lib/log.d.ts +25 -25
- package/lib/logger.d.ts +81 -81
- package/package.json +4 -240
- package/package.json_devDependencies.json +184 -184
- package/package.json_tnp.json5 +51 -51
- package/tmp-environment.json +34 -35
- package/websql/README.md +24 -24
- package/websql/esm2020/lib/backend-logging.mjs +93 -93
- package/websql/esm2020/lib/display.mjs +96 -96
- package/websql/esm2020/lib/index.mjs +6 -6
- package/websql/esm2020/lib/level.mjs +32 -32
- package/websql/esm2020/lib/log.mjs +160 -160
- package/websql/esm2020/lib/logger.mjs +236 -236
- package/websql/esm2020/ng2-logger.mjs +4 -4
- package/websql/esm2020/public-api.mjs +1 -1
- package/websql/fesm2015/ng2-logger.mjs +514 -514
- package/websql/fesm2020/ng2-logger.mjs +514 -514
- package/websql/lib/backend-logging.d.ts +3 -3
- package/websql/lib/display.d.ts +3 -3
- package/websql/lib/index.d.ts +3 -3
- package/websql/lib/level.d.ts +20 -20
- package/websql/lib/log.d.ts +24 -24
- package/websql/lib/logger.d.ts +80 -80
- package/websql/ng2-logger.d.ts +4 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
|
-
import { Level } from './level';
|
|
3
|
-
export declare function consoleLog(data: string, level: Level): void;
|
|
4
|
-
export declare function displayParams(params: any[], level: Level): void;
|
|
2
|
+
import { Level } from './level';
|
|
3
|
+
export declare function consoleLog(data: string, level: Level): void;
|
|
4
|
+
export declare function displayParams(params: any[], level: Level): void;
|
|
5
5
|
export declare function istartedInVscode(): void;
|
package/client/lib/display.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
|
-
import { Level } from './level';
|
|
3
|
-
export declare class Display {
|
|
4
|
-
static msg(message: string | any, params: any[], moduleName: string, moduleColor: string, level: Level, moduleWidth: number | undefined, isProductionMode: boolean): void;
|
|
2
|
+
import { Level } from './level';
|
|
3
|
+
export declare class Display {
|
|
4
|
+
static msg(message: string | any, params: any[], moduleName: string, moduleColor: string, level: Level, moduleWidth: number | undefined, isProductionMode: boolean): void;
|
|
5
5
|
}
|
package/client/lib/index.d.ts
CHANGED
package/client/lib/level.d.ts
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
|
-
export declare enum Level {
|
|
3
|
-
DATA = 0,
|
|
4
|
-
INFO = 1,
|
|
5
|
-
WARN = 2,
|
|
6
|
-
ERROR = 3,
|
|
7
|
-
SUCCESS = 4,
|
|
8
|
-
TASK_STARTED = 5,
|
|
9
|
-
TASK_DONE = 6,
|
|
10
|
-
__NOTHING = 7
|
|
11
|
-
}
|
|
12
|
-
export declare const LevelKey: {
|
|
13
|
-
0: string;
|
|
14
|
-
1: string;
|
|
15
|
-
2: string;
|
|
16
|
-
3: string;
|
|
17
|
-
4: string;
|
|
18
|
-
5: string;
|
|
19
|
-
6: string;
|
|
20
|
-
7: string;
|
|
21
|
-
};
|
|
2
|
+
export declare enum Level {
|
|
3
|
+
DATA = 0,
|
|
4
|
+
INFO = 1,
|
|
5
|
+
WARN = 2,
|
|
6
|
+
ERROR = 3,
|
|
7
|
+
SUCCESS = 4,
|
|
8
|
+
TASK_STARTED = 5,
|
|
9
|
+
TASK_DONE = 6,
|
|
10
|
+
__NOTHING = 7
|
|
11
|
+
}
|
|
12
|
+
export declare const LevelKey: {
|
|
13
|
+
0: string;
|
|
14
|
+
1: string;
|
|
15
|
+
2: string;
|
|
16
|
+
3: string;
|
|
17
|
+
4: string;
|
|
18
|
+
5: string;
|
|
19
|
+
6: string;
|
|
20
|
+
7: string;
|
|
21
|
+
};
|
|
22
22
|
export declare const LevelOrder: string[];
|
package/client/lib/log.d.ts
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
|
-
import { Logger } from './logger';
|
|
3
|
-
import { Level } from './level';
|
|
4
|
-
export declare class Log {
|
|
5
|
-
private constructor();
|
|
6
|
-
private static get instance();
|
|
7
|
-
static Logger: (typeof Logger);
|
|
8
|
-
static create(name: string, ...level: Level[]): Logger;
|
|
9
|
-
private static readonly consolelogfn;
|
|
10
|
-
static disableLogs(level?: Level): void;
|
|
11
|
-
static enableLogs(): void;
|
|
12
|
-
private _logOnly;
|
|
13
|
-
private _logModules;
|
|
14
|
-
private isDevelopmentMode;
|
|
15
|
-
private modeIsSet;
|
|
16
|
-
private fixedWidth;
|
|
17
|
-
private instances;
|
|
18
|
-
private levels;
|
|
19
|
-
private modules;
|
|
20
|
-
setProductionMode(): void;
|
|
21
|
-
onlyModules(...modules: (string | RegExp)[]): void;
|
|
22
|
-
onlyLevel(...level: Level[]): void;
|
|
23
|
-
private create;
|
|
24
|
-
private isMutedModule;
|
|
25
|
-
private muteAllOtherModules;
|
|
2
|
+
import { Logger } from './logger';
|
|
3
|
+
import { Level } from './level';
|
|
4
|
+
export declare class Log {
|
|
5
|
+
private constructor();
|
|
6
|
+
private static get instance();
|
|
7
|
+
static Logger: (typeof Logger);
|
|
8
|
+
static create(name: string, ...level: Level[]): Logger;
|
|
9
|
+
private static readonly consolelogfn;
|
|
10
|
+
static disableLogs(level?: Level): void;
|
|
11
|
+
static enableLogs(): void;
|
|
12
|
+
private _logOnly;
|
|
13
|
+
private _logModules;
|
|
14
|
+
private isDevelopmentMode;
|
|
15
|
+
private modeIsSet;
|
|
16
|
+
private fixedWidth;
|
|
17
|
+
private instances;
|
|
18
|
+
private levels;
|
|
19
|
+
private modules;
|
|
20
|
+
setProductionMode(): void;
|
|
21
|
+
onlyModules(...modules: (string | RegExp)[]): void;
|
|
22
|
+
onlyLevel(...level: Level[]): void;
|
|
23
|
+
private create;
|
|
24
|
+
private isMutedModule;
|
|
25
|
+
private muteAllOtherModules;
|
|
26
26
|
}
|
package/client/lib/logger.d.ts
CHANGED
|
@@ -1,82 +1,82 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
|
-
import { Level } from './level';
|
|
3
|
-
export declare class Logger {
|
|
4
|
-
private name;
|
|
5
|
-
color: string;
|
|
6
|
-
private developmentMode;
|
|
7
|
-
private allowed;
|
|
8
|
-
private isMuted;
|
|
9
|
-
fixedWidth: number | undefined;
|
|
10
|
-
private _level;
|
|
11
|
-
setLevel(l: Level): this;
|
|
12
|
-
get isProductionMode(): boolean;
|
|
13
|
-
setProductionMode(productionMode: boolean): this;
|
|
14
|
-
mute(): this;
|
|
15
|
-
constructor(name: string, color: string, developmentMode: boolean, allowed: Level[], isMuted: boolean, fixedWidth: number | undefined);
|
|
16
|
-
onlyWhen(expression: (() => boolean) | boolean): void;
|
|
17
|
-
private _data;
|
|
18
|
-
private _error;
|
|
19
|
-
private _info;
|
|
20
|
-
private _success;
|
|
21
|
-
private _taskStarted;
|
|
22
|
-
private _taskDone;
|
|
23
|
-
private _warn;
|
|
24
|
-
/** @deprecated Use data(...)
|
|
25
|
-
* @see data
|
|
26
|
-
*/
|
|
27
|
-
d: (name: string | any, ...data: any[]) => this;
|
|
28
|
-
/** @deprecated Use error(...)
|
|
29
|
-
* @see error
|
|
30
|
-
*/
|
|
31
|
-
er: (name: string | any, ...data: any[]) => this;
|
|
32
|
-
/** @deprecated Use info(...)
|
|
33
|
-
* @see info
|
|
34
|
-
*/
|
|
35
|
-
i: (name: string | any, ...data: any[]) => this;
|
|
36
|
-
/** @deprecated Use warn(...)
|
|
37
|
-
* @see warn
|
|
38
|
-
*/
|
|
39
|
-
w: (name: string | any, ...data: any[]) => this;
|
|
40
|
-
/**
|
|
41
|
-
* Logs message and data with the level=data
|
|
42
|
-
* @param message The message
|
|
43
|
-
* @param otherParams Additional parameters
|
|
44
|
-
*/
|
|
45
|
-
data: (message: string, ...otherParams: any[]) => this;
|
|
46
|
-
/**
|
|
47
|
-
* Logs message and data with the level=error
|
|
48
|
-
* @param message The message
|
|
49
|
-
* @param otherParams Additional parameters
|
|
50
|
-
*/
|
|
51
|
-
error: (message: string, ...otherParams: any[]) => this;
|
|
52
|
-
/**
|
|
53
|
-
* Logs message and data with the level=info
|
|
54
|
-
* @param message The message
|
|
55
|
-
* @param otherParams Additional parameters
|
|
56
|
-
*/
|
|
57
|
-
info: (message: string, ...otherParams: any[]) => this;
|
|
58
|
-
/**
|
|
59
|
-
* Logs message and data with the level=success
|
|
60
|
-
* @param message The message
|
|
61
|
-
* @param otherParams Additional parameters
|
|
62
|
-
*/
|
|
63
|
-
success: (message: string, ...otherParams: any[]) => this;
|
|
64
|
-
/**
|
|
65
|
-
* Logs message and data with the level=taskStarted
|
|
66
|
-
* @param message The message
|
|
67
|
-
* @param otherParams Additional parameters
|
|
68
|
-
*/
|
|
69
|
-
taskStarted: (message: string, ...otherParams: any[]) => this;
|
|
70
|
-
/**
|
|
71
|
-
* Logs message and data with the level=taskDone
|
|
72
|
-
* @param message The message
|
|
73
|
-
* @param otherParams Additional parameters
|
|
74
|
-
*/
|
|
75
|
-
taskDone: (message?: string, ...otherParams: any[]) => this;
|
|
76
|
-
/**
|
|
77
|
-
* Logs message and data with the level=warn
|
|
78
|
-
* @param message The message
|
|
79
|
-
* @param otherParams Additional parameters
|
|
80
|
-
*/
|
|
81
|
-
warn: (message: string, ...otherParams: any[]) => this;
|
|
2
|
+
import { Level } from './level';
|
|
3
|
+
export declare class Logger {
|
|
4
|
+
private name;
|
|
5
|
+
color: string;
|
|
6
|
+
private developmentMode;
|
|
7
|
+
private allowed;
|
|
8
|
+
private isMuted;
|
|
9
|
+
fixedWidth: number | undefined;
|
|
10
|
+
private _level;
|
|
11
|
+
setLevel(l: Level): this;
|
|
12
|
+
get isProductionMode(): boolean;
|
|
13
|
+
setProductionMode(productionMode: boolean): this;
|
|
14
|
+
mute(): this;
|
|
15
|
+
constructor(name: string, color: string, developmentMode: boolean, allowed: Level[], isMuted: boolean, fixedWidth: number | undefined);
|
|
16
|
+
onlyWhen(expression: (() => boolean) | boolean): void;
|
|
17
|
+
private _data;
|
|
18
|
+
private _error;
|
|
19
|
+
private _info;
|
|
20
|
+
private _success;
|
|
21
|
+
private _taskStarted;
|
|
22
|
+
private _taskDone;
|
|
23
|
+
private _warn;
|
|
24
|
+
/** @deprecated Use data(...)
|
|
25
|
+
* @see data
|
|
26
|
+
*/
|
|
27
|
+
d: (name: string | any, ...data: any[]) => this;
|
|
28
|
+
/** @deprecated Use error(...)
|
|
29
|
+
* @see error
|
|
30
|
+
*/
|
|
31
|
+
er: (name: string | any, ...data: any[]) => this;
|
|
32
|
+
/** @deprecated Use info(...)
|
|
33
|
+
* @see info
|
|
34
|
+
*/
|
|
35
|
+
i: (name: string | any, ...data: any[]) => this;
|
|
36
|
+
/** @deprecated Use warn(...)
|
|
37
|
+
* @see warn
|
|
38
|
+
*/
|
|
39
|
+
w: (name: string | any, ...data: any[]) => this;
|
|
40
|
+
/**
|
|
41
|
+
* Logs message and data with the level=data
|
|
42
|
+
* @param message The message
|
|
43
|
+
* @param otherParams Additional parameters
|
|
44
|
+
*/
|
|
45
|
+
data: (message: string, ...otherParams: any[]) => this;
|
|
46
|
+
/**
|
|
47
|
+
* Logs message and data with the level=error
|
|
48
|
+
* @param message The message
|
|
49
|
+
* @param otherParams Additional parameters
|
|
50
|
+
*/
|
|
51
|
+
error: (message: string, ...otherParams: any[]) => this;
|
|
52
|
+
/**
|
|
53
|
+
* Logs message and data with the level=info
|
|
54
|
+
* @param message The message
|
|
55
|
+
* @param otherParams Additional parameters
|
|
56
|
+
*/
|
|
57
|
+
info: (message: string, ...otherParams: any[]) => this;
|
|
58
|
+
/**
|
|
59
|
+
* Logs message and data with the level=success
|
|
60
|
+
* @param message The message
|
|
61
|
+
* @param otherParams Additional parameters
|
|
62
|
+
*/
|
|
63
|
+
success: (message: string, ...otherParams: any[]) => this;
|
|
64
|
+
/**
|
|
65
|
+
* Logs message and data with the level=taskStarted
|
|
66
|
+
* @param message The message
|
|
67
|
+
* @param otherParams Additional parameters
|
|
68
|
+
*/
|
|
69
|
+
taskStarted: (message: string, ...otherParams: any[]) => this;
|
|
70
|
+
/**
|
|
71
|
+
* Logs message and data with the level=taskDone
|
|
72
|
+
* @param message The message
|
|
73
|
+
* @param otherParams Additional parameters
|
|
74
|
+
*/
|
|
75
|
+
taskDone: (message?: string, ...otherParams: any[]) => this;
|
|
76
|
+
/**
|
|
77
|
+
* Logs message and data with the level=warn
|
|
78
|
+
* @param message The message
|
|
79
|
+
* @param otherParams Additional parameters
|
|
80
|
+
*/
|
|
81
|
+
warn: (message: string, ...otherParams: any[]) => this;
|
|
82
82
|
}
|
package/client/ng2-logger.d.ts
CHANGED
package/client/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ng2-logger",
|
|
3
|
-
"version": "13.1.
|
|
3
|
+
"version": "13.1.21",
|
|
4
4
|
"description": "isomorphic logger for browser/server in typescript",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -30,11 +30,11 @@
|
|
|
30
30
|
"json-stringify-safe": "5.0.1",
|
|
31
31
|
"json5": "2.1.3",
|
|
32
32
|
"randomcolor": "0.5.3",
|
|
33
|
-
"tnp-config": "~13.1.
|
|
33
|
+
"tnp-config": "~13.1.72"
|
|
34
34
|
},
|
|
35
35
|
"license": "MIT",
|
|
36
36
|
"private": false,
|
|
37
|
-
"lastBuildTagHash": "
|
|
37
|
+
"lastBuildTagHash": "b4a03fae18c80a223b78370a5b5473965fa811f5",
|
|
38
38
|
"peerDependencies": {},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@angular-devkit/build-angular": "~13.3.9",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"@ngrx/store-devtools": "~13.0.2",
|
|
69
69
|
"@ngx-formly/bootstrap": "6.0.0-next.8",
|
|
70
70
|
"@ngx-formly/core": "6.0.0-next.8",
|
|
71
|
-
"@ngx-formly/ionic": "6.
|
|
71
|
+
"@ngx-formly/ionic": "4.6.3",
|
|
72
72
|
"@ngx-formly/material": "6.0.0-next.8",
|
|
73
73
|
"@ngx-loading-bar/core": "6.0.2",
|
|
74
74
|
"@ngx-loading-bar/http-client": "6.0.2",
|
|
@@ -106,15 +106,14 @@
|
|
|
106
106
|
"@types/vinyl": "2.0.2",
|
|
107
107
|
"@types/watch": "1.0.0",
|
|
108
108
|
"accepts": "1.3.4",
|
|
109
|
-
"any-project-cli": "~13.1.
|
|
109
|
+
"any-project-cli": "~13.1.24",
|
|
110
110
|
"axios": "1.3.5",
|
|
111
|
-
"background-worker-process": "~13.1.
|
|
111
|
+
"background-worker-process": "~13.1.41",
|
|
112
112
|
"base32": "0.0.7",
|
|
113
113
|
"bcryptjs": "2.4.3",
|
|
114
114
|
"better-sqlite3": "7.6.2",
|
|
115
115
|
"body-parser": "1.18.2",
|
|
116
|
-
"bootstrap": "
|
|
117
|
-
"bs4-breakpoint": "13.0.33",
|
|
116
|
+
"bootstrap": "4.6.2",
|
|
118
117
|
"buffer-shims": "1.0.0",
|
|
119
118
|
"callsite-record": "4.1.3",
|
|
120
119
|
"chai": "4.2.0",
|
|
@@ -134,7 +133,6 @@
|
|
|
134
133
|
"dateformat": "3.0.3",
|
|
135
134
|
"detect-mocha": "0.1.0",
|
|
136
135
|
"diff": "3.2.0",
|
|
137
|
-
"edit-table": "13.1.0",
|
|
138
136
|
"element-resize-detector": "1.1.15",
|
|
139
137
|
"enquirer": "2.3.0",
|
|
140
138
|
"enum-values": "1.2.1",
|
|
@@ -150,12 +148,12 @@
|
|
|
150
148
|
"file-loader": "1.1.5",
|
|
151
149
|
"file-saver": "2.0.5",
|
|
152
150
|
"firedev": "^13",
|
|
153
|
-
"firedev-crud": "~13.1.
|
|
154
|
-
"firedev-crud-deamon": "~13.1.
|
|
155
|
-
"firedev-ports": "~13.1.
|
|
156
|
-
"firedev-storage": "~13.1.
|
|
157
|
-
"firedev-typeorm": "~13.1.
|
|
158
|
-
"firedev-ui": "~13.1.
|
|
151
|
+
"firedev-crud": "~13.1.46",
|
|
152
|
+
"firedev-crud-deamon": "~13.1.36",
|
|
153
|
+
"firedev-ports": "~13.1.40",
|
|
154
|
+
"firedev-storage": "~13.1.29",
|
|
155
|
+
"firedev-typeorm": "~13.1.24",
|
|
156
|
+
"firedev-ui": "~13.1.19",
|
|
159
157
|
"fkill": "6.1.0",
|
|
160
158
|
"font-awesome": "4.7.0",
|
|
161
159
|
"form-data": "4.0.0",
|
|
@@ -167,16 +165,17 @@
|
|
|
167
165
|
"http-proxy": "1.16.2",
|
|
168
166
|
"http-proxy-middleware": "0.19.1",
|
|
169
167
|
"http-server": "0.11.1",
|
|
170
|
-
"
|
|
168
|
+
"immutable": "4.3.0",
|
|
169
|
+
"incremental-compiler": "~13.1.22",
|
|
171
170
|
"inquirer": "7.3.3",
|
|
172
171
|
"inquirer-autocomplete-prompt": "1.3.0",
|
|
173
172
|
"is-elevated": "3.0.0",
|
|
174
|
-
"isomorphic-region-loader": "~13.1.
|
|
173
|
+
"isomorphic-region-loader": "~13.1.34",
|
|
175
174
|
"istanbul-instrumenter-loader": "2.0.0",
|
|
176
175
|
"jasmine-core": "4.0.0",
|
|
177
176
|
"jscodeshift": "0.6.3",
|
|
178
|
-
"json10": "~13.1.
|
|
179
|
-
"json10-writer": "~13.1.
|
|
177
|
+
"json10": "~13.1.41",
|
|
178
|
+
"json10-writer": "~13.1.37",
|
|
180
179
|
"json5-writer": "0.2.0",
|
|
181
180
|
"jszip": "3.10.1",
|
|
182
181
|
"karma": "6.3.0",
|
|
@@ -189,25 +188,25 @@
|
|
|
189
188
|
"localforage": "1.10.0",
|
|
190
189
|
"lockfile": "1.0.4",
|
|
191
190
|
"lodash": "4.17.4",
|
|
192
|
-
"lodash-walk-object": "~13.1.
|
|
191
|
+
"lodash-walk-object": "~13.1.41",
|
|
193
192
|
"lowdb": "1.0.0",
|
|
194
|
-
"magic-renamer": "~13.1.
|
|
193
|
+
"magic-renamer": "~13.1.38",
|
|
195
194
|
"material-design-icons": "3.0.1",
|
|
196
195
|
"method-override": "2.3.10",
|
|
197
196
|
"minimist": "1.2.0",
|
|
198
197
|
"mkdirp": "0.5.1",
|
|
199
198
|
"mocha": "5.2.0",
|
|
200
199
|
"moment": "2.22.2",
|
|
201
|
-
"morphi": "~13.2.
|
|
200
|
+
"morphi": "~13.2.4",
|
|
202
201
|
"ng-packagr": "13.0.0",
|
|
203
202
|
"ng-talkback": "~13.1.19",
|
|
204
203
|
"ng2-file-upload": "1.3.0",
|
|
205
|
-
"ng2-logger": "~13.1.
|
|
206
|
-
"ng2-rest": "~13.2.
|
|
204
|
+
"ng2-logger": "~13.1.20",
|
|
205
|
+
"ng2-rest": "~13.2.4",
|
|
207
206
|
"ng4-icons": "~13.1.21",
|
|
208
207
|
"ng4-modal": "~13.1.23",
|
|
209
208
|
"ngx-ace-wrapper": "12",
|
|
210
|
-
"ngx-bootstrap": "
|
|
209
|
+
"ngx-bootstrap": "2.0.2",
|
|
211
210
|
"ngx-editor": "12.2.1",
|
|
212
211
|
"ngx-highlightjs": "6.1.3",
|
|
213
212
|
"ngx-moment": "6.0.2",
|
|
@@ -251,11 +250,11 @@
|
|
|
251
250
|
"sudo-block": "3.0.0",
|
|
252
251
|
"systeminformation": "3.45.7",
|
|
253
252
|
"task.js": "0.1.5",
|
|
254
|
-
"tnp-cli": "~13.1.
|
|
255
|
-
"tnp-core": "~13.2.
|
|
256
|
-
"tnp-db": "~13.1.
|
|
257
|
-
"tnp-helpers": "~13.1.
|
|
258
|
-
"tnp-models": "~13.1.
|
|
253
|
+
"tnp-cli": "~13.1.55",
|
|
254
|
+
"tnp-core": "~13.2.14",
|
|
255
|
+
"tnp-db": "~13.1.18",
|
|
256
|
+
"tnp-helpers": "~13.1.29",
|
|
257
|
+
"tnp-models": "~13.1.21",
|
|
259
258
|
"tnp-ui": "~13.1.27",
|
|
260
259
|
"ts-debug": "1.3.0",
|
|
261
260
|
"ts-loader": "2.3.1",
|
|
@@ -263,7 +262,7 @@
|
|
|
263
262
|
"tslib": "~2.3.0",
|
|
264
263
|
"typeorm": "~0.3.10",
|
|
265
264
|
"typescript": "~4.6.2",
|
|
266
|
-
"typescript-class-helpers": "~13.2.
|
|
265
|
+
"typescript-class-helpers": "~13.2.6",
|
|
267
266
|
"typescript-formatter": "~7.2.2",
|
|
268
267
|
"underscore": "1.9.1",
|
|
269
268
|
"uuid": "8.3.2",
|
package/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './lib';
|
|
1
|
+
export * from './lib';
|
package/lib/backend-logging.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Level } from './level';
|
|
2
|
-
export declare function consoleLog(data: string, level: Level): void;
|
|
3
|
-
export declare function displayParams(params: any[], level: Level): void;
|
|
4
|
-
export declare function istartedInVscode(): any;
|
|
1
|
+
import { Level } from './level';
|
|
2
|
+
export declare function consoleLog(data: string, level: Level): void;
|
|
3
|
+
export declare function displayParams(params: any[], level: Level): void;
|
|
4
|
+
export declare function istartedInVscode(): any;
|
package/lib/display.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Level } from './level';
|
|
2
|
-
export declare class Display {
|
|
3
|
-
static msg(message: string | any, params: any[], moduleName: string, moduleColor: string, level: Level, moduleWidth: number | undefined, isProductionMode: boolean): void;
|
|
4
|
-
}
|
|
1
|
+
import { Level } from './level';
|
|
2
|
+
export declare class Display {
|
|
3
|
+
static msg(message: string | any, params: any[], moduleName: string, moduleColor: string, level: Level, moduleWidth: number | undefined, isProductionMode: boolean): void;
|
|
4
|
+
}
|
package/lib/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './log';
|
|
2
|
-
export * from './level';
|
|
3
|
-
export * from './logger';
|
|
4
|
-
export * from './display';
|
|
1
|
+
export * from './log';
|
|
2
|
+
export * from './level';
|
|
3
|
+
export * from './logger';
|
|
4
|
+
export * from './display';
|
package/lib/level.d.ts
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
export declare enum Level {
|
|
2
|
-
DATA = 0,
|
|
3
|
-
INFO = 1,
|
|
4
|
-
WARN = 2,
|
|
5
|
-
ERROR = 3,
|
|
6
|
-
SUCCESS = 4,
|
|
7
|
-
TASK_STARTED = 5,
|
|
8
|
-
TASK_DONE = 6,
|
|
9
|
-
__NOTHING = 7
|
|
10
|
-
}
|
|
11
|
-
export declare const LevelKey: {
|
|
12
|
-
0: string;
|
|
13
|
-
1: string;
|
|
14
|
-
2: string;
|
|
15
|
-
3: string;
|
|
16
|
-
4: string;
|
|
17
|
-
5: string;
|
|
18
|
-
6: string;
|
|
19
|
-
7: string;
|
|
20
|
-
};
|
|
21
|
-
export declare const LevelOrder: string[];
|
|
1
|
+
export declare enum Level {
|
|
2
|
+
DATA = 0,
|
|
3
|
+
INFO = 1,
|
|
4
|
+
WARN = 2,
|
|
5
|
+
ERROR = 3,
|
|
6
|
+
SUCCESS = 4,
|
|
7
|
+
TASK_STARTED = 5,
|
|
8
|
+
TASK_DONE = 6,
|
|
9
|
+
__NOTHING = 7
|
|
10
|
+
}
|
|
11
|
+
export declare const LevelKey: {
|
|
12
|
+
0: string;
|
|
13
|
+
1: string;
|
|
14
|
+
2: string;
|
|
15
|
+
3: string;
|
|
16
|
+
4: string;
|
|
17
|
+
5: string;
|
|
18
|
+
6: string;
|
|
19
|
+
7: string;
|
|
20
|
+
};
|
|
21
|
+
export declare const LevelOrder: string[];
|
package/lib/log.d.ts
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { Logger } from './logger';
|
|
2
|
-
import { Level } from './level';
|
|
3
|
-
export declare class Log {
|
|
4
|
-
private constructor();
|
|
5
|
-
private static get instance();
|
|
6
|
-
static Logger: (typeof Logger);
|
|
7
|
-
static create(name: string, ...level: Level[]): Logger;
|
|
8
|
-
private static readonly consolelogfn;
|
|
9
|
-
static disableLogs(level?: Level): void;
|
|
10
|
-
static enableLogs(): void;
|
|
11
|
-
private _logOnly;
|
|
12
|
-
private _logModules;
|
|
13
|
-
private isDevelopmentMode;
|
|
14
|
-
private modeIsSet;
|
|
15
|
-
private fixedWidth;
|
|
16
|
-
private instances;
|
|
17
|
-
private levels;
|
|
18
|
-
private modules;
|
|
19
|
-
setProductionMode(): void;
|
|
20
|
-
onlyModules(...modules: (string | RegExp)[]): void;
|
|
21
|
-
onlyLevel(...level: Level[]): void;
|
|
22
|
-
private create;
|
|
23
|
-
private isMutedModule;
|
|
24
|
-
private muteAllOtherModules;
|
|
25
|
-
}
|
|
1
|
+
import { Logger } from './logger';
|
|
2
|
+
import { Level } from './level';
|
|
3
|
+
export declare class Log {
|
|
4
|
+
private constructor();
|
|
5
|
+
private static get instance();
|
|
6
|
+
static Logger: (typeof Logger);
|
|
7
|
+
static create(name: string, ...level: Level[]): Logger;
|
|
8
|
+
private static readonly consolelogfn;
|
|
9
|
+
static disableLogs(level?: Level): void;
|
|
10
|
+
static enableLogs(): void;
|
|
11
|
+
private _logOnly;
|
|
12
|
+
private _logModules;
|
|
13
|
+
private isDevelopmentMode;
|
|
14
|
+
private modeIsSet;
|
|
15
|
+
private fixedWidth;
|
|
16
|
+
private instances;
|
|
17
|
+
private levels;
|
|
18
|
+
private modules;
|
|
19
|
+
setProductionMode(): void;
|
|
20
|
+
onlyModules(...modules: (string | RegExp)[]): void;
|
|
21
|
+
onlyLevel(...level: Level[]): void;
|
|
22
|
+
private create;
|
|
23
|
+
private isMutedModule;
|
|
24
|
+
private muteAllOtherModules;
|
|
25
|
+
}
|