@serenityjs/logger 0.3.6-beta-20240615212113 → 0.3.6-beta-20240617024945

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.
Files changed (2) hide show
  1. package/dist/index.js +7 -8
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -4117,7 +4117,7 @@ var Logger = class _Logger {
4117
4117
  const format = `${this.colorette.gray("<")}${(0, import_moment.default)().format("MM-DD-YYYY HH:mm:ss")}${this.colorette.gray(">")} ${this.colorette.gray(
4118
4118
  "["
4119
4119
  )}${this.color(`${this.name}`)}${this.colorette.gray("]")}`;
4120
- console.info(format, ...colorized);
4120
+ console.log(format, ...colorized);
4121
4121
  }
4122
4122
  /**
4123
4123
  * Logs an info message to the console.
@@ -4129,7 +4129,7 @@ var Logger = class _Logger {
4129
4129
  const format = `${this.colorette.gray("<")}${(0, import_moment.default)().format("MM-DD-YYYY HH:mm:ss")}${this.colorette.gray(">")} ${this.colorette.gray(
4130
4130
  "["
4131
4131
  )}${this.color(`${this.name}`)}${this.colorette.gray("]")} ${this.colorette.gray("[")}${this.colorette.cyan("Info")}${this.colorette.gray("]")}`;
4132
- console.info(format, ...colorized);
4132
+ console.log(format, ...colorized);
4133
4133
  }
4134
4134
  /**
4135
4135
  * Logs a warning message to the console.
@@ -4141,7 +4141,7 @@ var Logger = class _Logger {
4141
4141
  const format = `${this.colorette.gray("<")}${(0, import_moment.default)().format("MM-DD-YYYY HH:mm:ss")}${this.colorette.gray(">")} ${this.colorette.gray(
4142
4142
  "["
4143
4143
  )}${this.color(`${this.name}`)}${this.colorette.gray("]")} ${this.colorette.gray("[")}${this.colorette.yellow("Warning")}${this.colorette.gray("]")}`;
4144
- console.info(format, ...colorized);
4144
+ console.log(format, ...colorized);
4145
4145
  }
4146
4146
  /**
4147
4147
  * Logs an error message to the console.
@@ -4149,11 +4149,10 @@ var Logger = class _Logger {
4149
4149
  * @param arguments_ - The arguments to log.
4150
4150
  */
4151
4151
  error(...arguments_) {
4152
- const colorized = this.colorize(...arguments_);
4153
4152
  const format = `${this.colorette.gray("<")}${(0, import_moment.default)().format("MM-DD-YYYY HH:mm:ss")}${this.colorette.gray(">")} ${this.colorette.gray(
4154
4153
  "["
4155
4154
  )}${this.color(`${this.name}`)}${this.colorette.gray("]")} ${this.colorette.gray("[")}${this.colorette.red("Error")}${this.colorette.gray("]")}`;
4156
- console.info(format, ...colorized);
4155
+ console.log(format, ...arguments_);
4157
4156
  }
4158
4157
  /**
4159
4158
  * Logs a success message to the console.
@@ -4167,7 +4166,7 @@ var Logger = class _Logger {
4167
4166
  )}${this.color(`${this.name}`)}${this.colorette.gray("]")} ${this.colorette.gray("[")}${this.colorette.greenBright("Success")}${this.colorette.gray(
4168
4167
  "]"
4169
4168
  )}`;
4170
- console.info(format, ...colorized);
4169
+ console.log(format, ...colorized);
4171
4170
  }
4172
4171
  /**
4173
4172
  * Logs a debug message to the console.
@@ -4181,7 +4180,7 @@ var Logger = class _Logger {
4181
4180
  const format = `${this.colorette.gray("<")}${(0, import_moment.default)().format("MM-DD-YYYY HH:mm:ss")}${this.colorette.gray(">")} ${this.colorette.gray(
4182
4181
  "["
4183
4182
  )}${this.color(`${this.name}`)}${this.colorette.gray("]")} ${this.colorette.gray("[")}${this.colorette.redBright("DEBUG")}${this.colorette.gray("]")}`;
4184
- console.info(format, ...colorized);
4183
+ console.log(format, ...colorized);
4185
4184
  }
4186
4185
  /**
4187
4186
  * Logs a chat message to the console.
@@ -4195,7 +4194,7 @@ var Logger = class _Logger {
4195
4194
  )}${this.color(`${this.name}`)}${this.colorette.gray("]")} ${this.colorette.gray("[")}${this.colorette.cyanBright("Chat")}${this.colorette.gray(
4196
4195
  "]"
4197
4196
  )}`;
4198
- console.info(format, colorized[0], ">", colorized[1]);
4197
+ console.log(format, colorized[0], ">", colorized[1]);
4199
4198
  }
4200
4199
  colorize(...arguments_) {
4201
4200
  const colorized = arguments_.map((argument) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serenityjs/logger",
3
- "version": "0.3.6-beta-20240615212113",
3
+ "version": "0.3.6-beta-20240617024945",
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.3.6-beta-20240615212113",
22
- "@serenityjs/jest-presets": "0.3.6-beta-20240615212113",
23
- "@serenityjs/typescript-config": "0.3.6-beta-20240615212113",
21
+ "@serenityjs/eslint-config": "0.3.6-beta-20240617024945",
22
+ "@serenityjs/jest-presets": "0.3.6-beta-20240617024945",
23
+ "@serenityjs/typescript-config": "0.3.6-beta-20240617024945",
24
24
  "@types/jest": "^29.5.12",
25
25
  "@types/node": "^20.11.24",
26
26
  "jest": "^29.7.0",