@serenityjs/logger 0.5.2-beta-20240923211313 → 0.5.2-beta-20240924154401
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/dist/index.d.ts +7 -7
- package/dist/index.js +4 -4
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as colorette from 'colorette';
|
|
2
|
-
import {
|
|
2
|
+
import { Colorette, Color } from 'colorette';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* A colorized logger for applications.
|
|
@@ -10,17 +10,17 @@ declare class Logger {
|
|
|
10
10
|
*/
|
|
11
11
|
static DEBUG: boolean;
|
|
12
12
|
/**
|
|
13
|
-
* The
|
|
13
|
+
* The colorette instance.
|
|
14
14
|
*/
|
|
15
|
-
readonly
|
|
15
|
+
readonly colorette: Colorette;
|
|
16
16
|
/**
|
|
17
|
-
* The
|
|
17
|
+
* The module name of the logger.
|
|
18
18
|
*/
|
|
19
|
-
|
|
19
|
+
name: string;
|
|
20
20
|
/**
|
|
21
|
-
* The
|
|
21
|
+
* The color of module name.
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
color: Color;
|
|
24
24
|
/**
|
|
25
25
|
* Constructs a new logger.
|
|
26
26
|
*
|
package/dist/index.js
CHANGED
|
@@ -4452,6 +4452,10 @@ var Logger = class Logger2 {
|
|
|
4452
4452
|
*/
|
|
4453
4453
|
static DEBUG = false;
|
|
4454
4454
|
/**
|
|
4455
|
+
* The colorette instance.
|
|
4456
|
+
*/
|
|
4457
|
+
colorette;
|
|
4458
|
+
/**
|
|
4455
4459
|
* The module name of the logger.
|
|
4456
4460
|
*/
|
|
4457
4461
|
name;
|
|
@@ -4460,10 +4464,6 @@ var Logger = class Logger2 {
|
|
|
4460
4464
|
*/
|
|
4461
4465
|
color;
|
|
4462
4466
|
/**
|
|
4463
|
-
* The colorette instance.
|
|
4464
|
-
*/
|
|
4465
|
-
colorette;
|
|
4466
|
-
/**
|
|
4467
4467
|
* Constructs a new logger.
|
|
4468
4468
|
*
|
|
4469
4469
|
* @param name - The module name.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@serenityjs/logger",
|
|
3
|
-
"version": "0.5.2-beta-
|
|
3
|
+
"version": "0.5.2-beta-20240924154401",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"repository": "https://github.com/SerenityJS/serenity",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"preset": "@serenityjs/jest-presets/jest/node"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@serenityjs/eslint-config": "0.5.2-beta-
|
|
22
|
-
"@serenityjs/jest-presets": "0.5.2-beta-
|
|
23
|
-
"@serenityjs/typescript-config": "0.5.2-beta-
|
|
21
|
+
"@serenityjs/eslint-config": "0.5.2-beta-20240924154401",
|
|
22
|
+
"@serenityjs/jest-presets": "0.5.2-beta-20240924154401",
|
|
23
|
+
"@serenityjs/typescript-config": "0.5.2-beta-20240924154401",
|
|
24
24
|
"@types/jest": "^29.5.12",
|
|
25
25
|
"@types/node": "^20.11.24",
|
|
26
26
|
"jest": "^29.7.0",
|