ng2-logger 19.0.22 → 19.0.25
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/browser/package.json +1 -1
- package/client/package.json +1 -1
- package/lib/build-info._auto-generated_.d.ts +1 -1
- package/lib/build-info._auto-generated_.js +1 -1
- package/lib/env/env.angular-node-app.d.ts +13 -0
- package/lib/env/env.angular-node-app.js +19 -0
- package/lib/env/env.angular-node-app.js.map +1 -0
- package/lib/env/env.electron-app.d.ts +13 -0
- package/lib/env/env.electron-app.js +19 -0
- package/lib/env/env.electron-app.js.map +1 -0
- package/lib/env/env.mobile-app.d.ts +13 -0
- package/lib/env/env.mobile-app.js +19 -0
- package/lib/env/env.mobile-app.js.map +1 -0
- package/lib/env/env.npm-lib-and-cli-tool.d.ts +13 -0
- package/lib/env/env.npm-lib-and-cli-tool.js +19 -0
- package/lib/env/env.npm-lib-and-cli-tool.js.map +1 -0
- package/lib/env/env.vscode-plugin.d.ts +13 -0
- package/lib/env/env.vscode-plugin.js +19 -0
- package/lib/env/env.vscode-plugin.js.map +1 -0
- package/lib/env/index.d.ts +5 -0
- package/lib/env/index.js +22 -0
- package/lib/env/index.js.map +1 -0
- package/package.json +1 -1
- package/tmp-environment.json +4 -8
- package/websql/package.json +1 -1
- package/client/README.md +0 -24
- package/client/fesm2022/ng2-logger.mjs +0 -527
- package/client/fesm2022/ng2-logger.mjs.map +0 -1
- package/client/index.d.ts +0 -6
- package/client/lib/backend-logging.d.ts +0 -5
- package/client/lib/display.d.ts +0 -5
- package/client/lib/index.d.ts +0 -5
- package/client/lib/level.d.ts +0 -22
- package/client/lib/log.d.ts +0 -26
- package/client/lib/logger.d.ts +0 -82
- package/client/public-api.d.ts +0 -2
- package/package.json_devDependencies.json +0 -184
- package/package.json_tnp.json5 +0 -57
package/client/lib/logger.d.ts
DELETED
|
@@ -1,82 +0,0 @@
|
|
|
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
|
-
/**
|
|
25
|
-
* @see data
|
|
26
|
-
*/
|
|
27
|
-
d: (name: string | any, ...data: any[]) => this;
|
|
28
|
-
/**
|
|
29
|
-
* @see error
|
|
30
|
-
*/
|
|
31
|
-
er: (name: string | any, ...data: any[]) => this;
|
|
32
|
-
/**
|
|
33
|
-
* @see info
|
|
34
|
-
*/
|
|
35
|
-
i: (name: string | any, ...data: any[]) => this;
|
|
36
|
-
/**
|
|
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
|
-
}
|
package/client/public-api.d.ts
DELETED
|
@@ -1,184 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"@angular-devkit/build-angular": "~13.1.4",
|
|
3
|
-
"@angular/animations": "~13.1.0",
|
|
4
|
-
"@angular/cdk": "~13.1.3",
|
|
5
|
-
"@angular/cli": "~13.1.4",
|
|
6
|
-
"@angular/common": "~13.1.0",
|
|
7
|
-
"@angular/compiler": "~13.1.0",
|
|
8
|
-
"@angular/compiler-cli": "~13.1.0",
|
|
9
|
-
"@angular/core": "~13.1.0",
|
|
10
|
-
"@angular/forms": "~13.1.0",
|
|
11
|
-
"@angular/material": "~13.1.3",
|
|
12
|
-
"@angular/platform-browser": "~13.1.0",
|
|
13
|
-
"@angular/platform-browser-dynamic": "~13.1.0",
|
|
14
|
-
"@angular/pwa": "~13.1.4",
|
|
15
|
-
"@angular/router": "~13.1.0",
|
|
16
|
-
"@angular/service-worker": "~13.1.0",
|
|
17
|
-
"@mdi/js": "5.8.55",
|
|
18
|
-
"@ngrx/component-store": "~13.0.2",
|
|
19
|
-
"@ngrx/data": "~13.0.2",
|
|
20
|
-
"@ngrx/effects": "~13.0.2",
|
|
21
|
-
"@ngrx/entity": "~13.0.2",
|
|
22
|
-
"@ngrx/router-store": "~13.0.2",
|
|
23
|
-
"@ngrx/schematics": "~13.0.2",
|
|
24
|
-
"@ngrx/store": "~13.0.2",
|
|
25
|
-
"@ngrx/store-devtools": "~13.0.2",
|
|
26
|
-
"@types/chai": "4.1.2",
|
|
27
|
-
"@types/chokidar": "2.1.3",
|
|
28
|
-
"@types/dateformat": "1.0.1",
|
|
29
|
-
"@types/diff": "3.2.2",
|
|
30
|
-
"@types/express": "4.11.0",
|
|
31
|
-
"@types/express-fileupload": "0.1.1",
|
|
32
|
-
"@types/fs-extra": "7.0.0",
|
|
33
|
-
"@types/glob": "5.0.35",
|
|
34
|
-
"@types/http-proxy": "1.16.0",
|
|
35
|
-
"@types/http-proxy-middleware": "0.19.2",
|
|
36
|
-
"@types/inquirer": "7.3.1",
|
|
37
|
-
"@types/json-stringify-safe": "5.0.0",
|
|
38
|
-
"@types/json5": "0.0.29",
|
|
39
|
-
"@types/lockfile": "1.0.0",
|
|
40
|
-
"@types/lodash": "4.14.92",
|
|
41
|
-
"@types/lowdb": "1.0.6",
|
|
42
|
-
"@types/mocha": "5.2.5",
|
|
43
|
-
"@types/node": "14.18.9",
|
|
44
|
-
"@types/node-notifier": "5.4.0",
|
|
45
|
-
"@types/oauth2orize": "1.8.0",
|
|
46
|
-
"@types/password-hash": "1.2.19",
|
|
47
|
-
"@types/progress": "2.0.3",
|
|
48
|
-
"@types/q": "1.5.5",
|
|
49
|
-
"@types/rimraf": "2.0.2",
|
|
50
|
-
"@types/systeminformation": "3.23.0",
|
|
51
|
-
"@types/vinyl": "2.0.2",
|
|
52
|
-
"@types/watch": "1.0.0",
|
|
53
|
-
"accepts": "1.3.4",
|
|
54
|
-
"angular-tree-component": "7.0.0",
|
|
55
|
-
"axios": "0.17.1",
|
|
56
|
-
"background-worker-process": "~0.0.35",
|
|
57
|
-
"bcryptjs": "2.4.3",
|
|
58
|
-
"body-parser": "1.18.2",
|
|
59
|
-
"bootstrap": "5.1.3",
|
|
60
|
-
"bs4-breakpoint": "~2.0.40",
|
|
61
|
-
"buffer-shims": "1.0.0",
|
|
62
|
-
"button-dropdown": "~1.0.45",
|
|
63
|
-
"callsite-record": "4.1.3",
|
|
64
|
-
"chai": "4.2.0",
|
|
65
|
-
"check-node-version": "3.2.0",
|
|
66
|
-
"cheerio": "1.0.0-rc.3",
|
|
67
|
-
"chokidar": "3.5.1",
|
|
68
|
-
"circular-json": "0.5.1",
|
|
69
|
-
"command-exists": "1.2.2",
|
|
70
|
-
"compression": "1.7.4",
|
|
71
|
-
"concurrently": "3.5.1",
|
|
72
|
-
"content-type": "1.0.4",
|
|
73
|
-
"cookie-parser": "1.4.3",
|
|
74
|
-
"copy-paste": "1.3.0",
|
|
75
|
-
"cors": "2.8.4",
|
|
76
|
-
"cpr": "3.0.1",
|
|
77
|
-
"cross-spawn": "7.0.3",
|
|
78
|
-
"dateformat": "3.0.3",
|
|
79
|
-
"detect-mocha": "0.1.0",
|
|
80
|
-
"diff": "3.2.0",
|
|
81
|
-
"element-resize-detector": "1.1.15",
|
|
82
|
-
"enquirer": "2.3.0",
|
|
83
|
-
"enum-values": "1.2.1",
|
|
84
|
-
"errorhandler": "1.5.0",
|
|
85
|
-
"eslint": "7.13.0",
|
|
86
|
-
"eslint-plugin-import": "2.22.1",
|
|
87
|
-
"eslint-plugin-jsdoc": "30.7.8",
|
|
88
|
-
"eslint-plugin-prefer-arrow": "1.2.2",
|
|
89
|
-
"express": "4.16.3",
|
|
90
|
-
"express-fileupload": "0.4.0",
|
|
91
|
-
"fbgraph": "1.4.1",
|
|
92
|
-
"file-loader": "1.1.5",
|
|
93
|
-
"fkill": "6.1.0",
|
|
94
|
-
"font-awesome": "4.7.0",
|
|
95
|
-
"fs-extra": "8.1.0",
|
|
96
|
-
"fuzzy": "0.1.3",
|
|
97
|
-
"glob": "7.1.2",
|
|
98
|
-
"gulp": "3.9.1",
|
|
99
|
-
"hostile": "1.3.3",
|
|
100
|
-
"http-proxy": "1.16.2",
|
|
101
|
-
"http-proxy-middleware": "0.19.1",
|
|
102
|
-
"http-server": "0.11.1",
|
|
103
|
-
"incremental-compiler": "~1.1.53",
|
|
104
|
-
"inquirer": "7.3.3",
|
|
105
|
-
"inquirer-autocomplete-prompt": "1.3.0",
|
|
106
|
-
"is-elevated": "3.0.0",
|
|
107
|
-
"istanbul-instrumenter-loader": "2.0.0",
|
|
108
|
-
"json10": "~1.0.34",
|
|
109
|
-
"json5-writer": "0.2.0",
|
|
110
|
-
"karma-cli": "1.0.1",
|
|
111
|
-
"lnk": "1.0.1",
|
|
112
|
-
"lockfile": "1.0.4",
|
|
113
|
-
"lodash": "4.17.4",
|
|
114
|
-
"lodash-walk-object": "~1.0.35",
|
|
115
|
-
"lowdb": "1.0.0",
|
|
116
|
-
"magic-renamer": "~0.0.20",
|
|
117
|
-
"material-design-icons": "3.0.1",
|
|
118
|
-
"method-override": "2.3.10",
|
|
119
|
-
"minimist": "1.2.0",
|
|
120
|
-
"mkdirp": "0.5.1",
|
|
121
|
-
"mocha": "5.2.0",
|
|
122
|
-
"moment": "2.22.2",
|
|
123
|
-
"morphi": "~4.0.54",
|
|
124
|
-
"ng-modal-lib": "0.0.6",
|
|
125
|
-
"ng-talkback": "~2.4.25",
|
|
126
|
-
"ng2-file-upload": "1.3.0",
|
|
127
|
-
"ng2-logger": "~8.0.20",
|
|
128
|
-
"ng2-rest": "~11.0.42",
|
|
129
|
-
"ng4-icons": "~0.0.30",
|
|
130
|
-
"ng4-modal": "~0.0.30",
|
|
131
|
-
"ngx-breadcrumbs": "0.0.3",
|
|
132
|
-
"ngx-store": "2.1.0",
|
|
133
|
-
"node-cli-test": "0.0.2",
|
|
134
|
-
"node-cli-tester": "~0.0.22",
|
|
135
|
-
"node-localstorage": "2.1.6",
|
|
136
|
-
"node-notifier": "6.0.0",
|
|
137
|
-
"nodemon": "1.14.11",
|
|
138
|
-
"npm-get-dependents": "1.0.1",
|
|
139
|
-
"npm-run": "4.1.2",
|
|
140
|
-
"omelette": "0.4.5",
|
|
141
|
-
"open": "7.2.1",
|
|
142
|
-
"ora": "3.4.0",
|
|
143
|
-
"passport": "0.3.2",
|
|
144
|
-
"passport-http-bearer": "1.0.1",
|
|
145
|
-
"password-hash": "1.2.2",
|
|
146
|
-
"portfinder": "1.0.21",
|
|
147
|
-
"progress": "2.0.3",
|
|
148
|
-
"prompts": "0.1.8",
|
|
149
|
-
"ps-list": "6.1.0",
|
|
150
|
-
"ps-node": "0.1.6",
|
|
151
|
-
"q": "1.5.1",
|
|
152
|
-
"record-replay-req-res-scenario": "~0.0.26",
|
|
153
|
-
"reflect-metadata": "0.1.10",
|
|
154
|
-
"rimraf": "2.6.2",
|
|
155
|
-
"rxjs": "~7.4.0",
|
|
156
|
-
"simple-git": "1.96.0",
|
|
157
|
-
"sloc": "0.2.0",
|
|
158
|
-
"socket.io": "2.4.1",
|
|
159
|
-
"sort-package-json": "1.11.0",
|
|
160
|
-
"static-columns": "~2.0.17",
|
|
161
|
-
"string-similarity": "4.0.2",
|
|
162
|
-
"sudo-block": "3.0.0",
|
|
163
|
-
"systeminformation": "3.45.7",
|
|
164
|
-
"task.js": "0.1.5",
|
|
165
|
-
"tnp-config": "~1.0.20",
|
|
166
|
-
"tnp-core": "~1.0.35",
|
|
167
|
-
"tnp-db": "~0.0.44",
|
|
168
|
-
"tnp-helpers": "~0.0.73",
|
|
169
|
-
"tnp-models": "~0.0.37",
|
|
170
|
-
"tnp-tools": "~0.0.46",
|
|
171
|
-
"tnp-ui": "~0.0.33",
|
|
172
|
-
"tsickle": "0.26.0",
|
|
173
|
-
"tslib": "~2.3.0",
|
|
174
|
-
"typeorm": "~0.2.7",
|
|
175
|
-
"typescript": "~4.5.2",
|
|
176
|
-
"typescript-class-helpers": "~1.0.42",
|
|
177
|
-
"typescript-formatter": "~7.2.2",
|
|
178
|
-
"underscore": "1.9.1",
|
|
179
|
-
"uuid": "8.3.2",
|
|
180
|
-
"validator": "9.2.0",
|
|
181
|
-
"vpn-split": "~0.0.18",
|
|
182
|
-
"watch": "1.0.2",
|
|
183
|
-
"zone.js": "~0.11.4"
|
|
184
|
-
}
|
package/package.json_tnp.json5
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
resources: ["README.md", "screen.png", "server.png"],
|
|
3
|
-
|
|
4
|
-
overrided: {
|
|
5
|
-
includeAsDev: [],
|
|
6
|
-
|
|
7
|
-
includeOnly: [
|
|
8
|
-
"chalk",
|
|
9
|
-
"json-stringify-safe",
|
|
10
|
-
"json5",
|
|
11
|
-
"randomcolor",
|
|
12
|
-
"tnp-config",
|
|
13
|
-
],
|
|
14
|
-
|
|
15
|
-
dependencies: {},
|
|
16
|
-
ignoreDepsPattern: [],
|
|
17
|
-
linkedFolders: [],
|
|
18
|
-
npmFixes: [],
|
|
19
|
-
},
|
|
20
|
-
|
|
21
|
-
linkedProjects: [],
|
|
22
|
-
smartContainerBuildTarget: '',
|
|
23
|
-
linkedRepos: [],
|
|
24
|
-
|
|
25
|
-
libReleaseOptions: {
|
|
26
|
-
nodts: false,
|
|
27
|
-
obscure: false,
|
|
28
|
-
ugly: false,
|
|
29
|
-
includeNodeModules: false,
|
|
30
|
-
cliBuildNoDts: false,
|
|
31
|
-
cliBuildObscure: false,
|
|
32
|
-
cliBuildIncludeNodeModules: false,
|
|
33
|
-
},
|
|
34
|
-
|
|
35
|
-
smartContainerTarget: '',
|
|
36
|
-
type: "isomorphic-lib",
|
|
37
|
-
version: 'v4',
|
|
38
|
-
additionalNpmNames: ["firedev-logger"],
|
|
39
|
-
description: "isomorphic logger for browser/server in typescript",
|
|
40
|
-
license: "MIT",
|
|
41
|
-
private: false,
|
|
42
|
-
|
|
43
|
-
author: {
|
|
44
|
-
name: "Dariusz Filipiak",
|
|
45
|
-
},
|
|
46
|
-
|
|
47
|
-
homepage: "https://github.com/darekf77/ng2-logger#readme",
|
|
48
|
-
|
|
49
|
-
keywords: [
|
|
50
|
-
"isomorphic",
|
|
51
|
-
"logger",
|
|
52
|
-
"logging",
|
|
53
|
-
"logowanie",
|
|
54
|
-
"log",
|
|
55
|
-
"typescript",
|
|
56
|
-
],
|
|
57
|
-
}
|