@storm-software/workspace-tools 1.43.1 → 1.43.2
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/CHANGELOG.md +7 -0
- package/index.js +7 -7
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/base/index.js +7 -7
- package/src/executors/design-tokens/executor.js +7 -7
- package/src/executors/tsup/executor.js +7 -7
- package/src/executors/tsup-browser/executor.js +7 -7
- package/src/executors/tsup-neutral/executor.js +7 -7
- package/src/executors/tsup-node/executor.js +7 -7
- package/src/generators/browser-library/generator.js +7 -7
- package/src/generators/config-schema/generator.js +7 -7
- package/src/generators/neutral-library/generator.js +7 -7
- package/src/generators/node-library/generator.js +7 -7
- package/src/generators/preset/generator.js +7 -7
package/package.json
CHANGED
package/src/base/index.js
CHANGED
|
@@ -47384,7 +47384,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
47384
47384
|
if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel || typeof logLevel === "string" && LogLevel.FATAL >= getLogLevel(logLevel)) {
|
|
47385
47385
|
return (message) => {
|
|
47386
47386
|
console.error(
|
|
47387
|
-
` ${chalk.bold.bgHex(config?.colors?.fatal ? config.colors.fatal : "#1fb2a6").
|
|
47387
|
+
` ${chalk.bold.bgHex(config?.colors?.fatal ? config.colors.fatal : "#1fb2a6").white("\n\n \u{1F480} Fatal ")} ${chalk.reset.hex(
|
|
47388
47388
|
config?.colors?.fatal ? config.colors.fatal : "#1fb2a6"
|
|
47389
47389
|
)(message)}
|
|
47390
47390
|
`
|
|
@@ -47394,7 +47394,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
47394
47394
|
if (typeof logLevel === "number" && LogLevel.ERROR >= logLevel || typeof logLevel === "string" && LogLevel.ERROR >= getLogLevel(logLevel)) {
|
|
47395
47395
|
return (message) => {
|
|
47396
47396
|
console.error(
|
|
47397
|
-
` ${chalk.bold.bgHex(config?.colors?.error ? config.colors.error : "#7d1a1a").
|
|
47397
|
+
` ${chalk.bold.bgHex(config?.colors?.error ? config.colors.error : "#7d1a1a").white("\n\n \u{1F6D1} Error ")} ${chalk.reset.hex(
|
|
47398
47398
|
config?.colors?.error ? config.colors.error : "#7d1a1a"
|
|
47399
47399
|
)(message)}
|
|
47400
47400
|
`
|
|
@@ -47404,7 +47404,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
47404
47404
|
if (typeof logLevel === "number" && LogLevel.WARN >= logLevel || typeof logLevel === "string" && LogLevel.WARN >= getLogLevel(logLevel)) {
|
|
47405
47405
|
return (message) => {
|
|
47406
47406
|
console.warn(
|
|
47407
|
-
` ${chalk.bold.bgHex(config?.colors?.warning ? config.colors.warning : "#fcc419").
|
|
47407
|
+
` ${chalk.bold.bgHex(config?.colors?.warning ? config.colors.warning : "#fcc419").white("\n\n \u26A0\uFE0F Warn ")} ${chalk.reset.hex(
|
|
47408
47408
|
config?.colors?.warning ? config.colors.warning : "#fcc419"
|
|
47409
47409
|
)(message)}
|
|
47410
47410
|
`
|
|
@@ -47414,7 +47414,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
47414
47414
|
if (typeof logLevel === "number" && LogLevel.INFO >= logLevel || typeof logLevel === "string" && LogLevel.INFO >= getLogLevel(logLevel)) {
|
|
47415
47415
|
return (message) => {
|
|
47416
47416
|
console.info(
|
|
47417
|
-
` ${chalk.bold.bgHex(config?.colors?.info ? config.colors.info : "#0ea5e9").
|
|
47417
|
+
` ${chalk.bold.bgHex(config?.colors?.info ? config.colors.info : "#0ea5e9").white("\n\n \u{1F4EC} Info ")} ${chalk.reset.hex(
|
|
47418
47418
|
config?.colors?.info ? config.colors.info : "#0ea5e9"
|
|
47419
47419
|
)(message)}
|
|
47420
47420
|
`
|
|
@@ -47424,7 +47424,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
47424
47424
|
if (typeof logLevel === "number" && LogLevel.INFO >= logLevel || typeof logLevel === "string" && LogLevel.INFO >= getLogLevel(logLevel)) {
|
|
47425
47425
|
return (message) => {
|
|
47426
47426
|
console.info(
|
|
47427
|
-
` ${chalk.bold.bgHex(config?.colors?.success ? config.colors.success : "#087f5b").
|
|
47427
|
+
` ${chalk.bold.bgHex(config?.colors?.success ? config.colors.success : "#087f5b").white("\n\n \u{1F389} Success ")} ${chalk.reset.hex(
|
|
47428
47428
|
config?.colors?.success ? config.colors.success : "#087f5b"
|
|
47429
47429
|
)(message)}
|
|
47430
47430
|
`
|
|
@@ -47434,7 +47434,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
47434
47434
|
if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel || typeof logLevel === "string" && LogLevel.DEBUG >= getLogLevel(logLevel)) {
|
|
47435
47435
|
return (message) => {
|
|
47436
47436
|
console.debug(
|
|
47437
|
-
` ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").
|
|
47437
|
+
` ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white("\n\n \u{1F9EA} Debug ")} ${chalk.reset.hex(
|
|
47438
47438
|
config?.colors?.primary ? config.colors.primary : "#1fb2a6"
|
|
47439
47439
|
)(message)}
|
|
47440
47440
|
`
|
|
@@ -47443,7 +47443,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
47443
47443
|
}
|
|
47444
47444
|
return (message) => {
|
|
47445
47445
|
console.log(
|
|
47446
|
-
` ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").
|
|
47446
|
+
` ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white("\n\n \u{1F4E2} System ")} ${chalk.bold.hex(
|
|
47447
47447
|
config?.colors?.primary ? config.colors.primary : "#1fb2a6"
|
|
47448
47448
|
)(message)}
|
|
47449
47449
|
`
|
|
@@ -65300,7 +65300,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
65300
65300
|
if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel || typeof logLevel === "string" && LogLevel.FATAL >= getLogLevel(logLevel)) {
|
|
65301
65301
|
return (message) => {
|
|
65302
65302
|
console.error(
|
|
65303
|
-
` ${chalk.bold.bgHex(config?.colors?.fatal ? config.colors.fatal : "#1fb2a6").
|
|
65303
|
+
` ${chalk.bold.bgHex(config?.colors?.fatal ? config.colors.fatal : "#1fb2a6").white("\n\n \u{1F480} Fatal ")} ${chalk.reset.hex(
|
|
65304
65304
|
config?.colors?.fatal ? config.colors.fatal : "#1fb2a6"
|
|
65305
65305
|
)(message)}
|
|
65306
65306
|
`
|
|
@@ -65310,7 +65310,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
65310
65310
|
if (typeof logLevel === "number" && LogLevel.ERROR >= logLevel || typeof logLevel === "string" && LogLevel.ERROR >= getLogLevel(logLevel)) {
|
|
65311
65311
|
return (message) => {
|
|
65312
65312
|
console.error(
|
|
65313
|
-
` ${chalk.bold.bgHex(config?.colors?.error ? config.colors.error : "#7d1a1a").
|
|
65313
|
+
` ${chalk.bold.bgHex(config?.colors?.error ? config.colors.error : "#7d1a1a").white("\n\n \u{1F6D1} Error ")} ${chalk.reset.hex(
|
|
65314
65314
|
config?.colors?.error ? config.colors.error : "#7d1a1a"
|
|
65315
65315
|
)(message)}
|
|
65316
65316
|
`
|
|
@@ -65320,7 +65320,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
65320
65320
|
if (typeof logLevel === "number" && LogLevel.WARN >= logLevel || typeof logLevel === "string" && LogLevel.WARN >= getLogLevel(logLevel)) {
|
|
65321
65321
|
return (message) => {
|
|
65322
65322
|
console.warn(
|
|
65323
|
-
` ${chalk.bold.bgHex(config?.colors?.warning ? config.colors.warning : "#fcc419").
|
|
65323
|
+
` ${chalk.bold.bgHex(config?.colors?.warning ? config.colors.warning : "#fcc419").white("\n\n \u26A0\uFE0F Warn ")} ${chalk.reset.hex(
|
|
65324
65324
|
config?.colors?.warning ? config.colors.warning : "#fcc419"
|
|
65325
65325
|
)(message)}
|
|
65326
65326
|
`
|
|
@@ -65330,7 +65330,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
65330
65330
|
if (typeof logLevel === "number" && LogLevel.INFO >= logLevel || typeof logLevel === "string" && LogLevel.INFO >= getLogLevel(logLevel)) {
|
|
65331
65331
|
return (message) => {
|
|
65332
65332
|
console.info(
|
|
65333
|
-
` ${chalk.bold.bgHex(config?.colors?.info ? config.colors.info : "#0ea5e9").
|
|
65333
|
+
` ${chalk.bold.bgHex(config?.colors?.info ? config.colors.info : "#0ea5e9").white("\n\n \u{1F4EC} Info ")} ${chalk.reset.hex(
|
|
65334
65334
|
config?.colors?.info ? config.colors.info : "#0ea5e9"
|
|
65335
65335
|
)(message)}
|
|
65336
65336
|
`
|
|
@@ -65340,7 +65340,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
65340
65340
|
if (typeof logLevel === "number" && LogLevel.INFO >= logLevel || typeof logLevel === "string" && LogLevel.INFO >= getLogLevel(logLevel)) {
|
|
65341
65341
|
return (message) => {
|
|
65342
65342
|
console.info(
|
|
65343
|
-
` ${chalk.bold.bgHex(config?.colors?.success ? config.colors.success : "#087f5b").
|
|
65343
|
+
` ${chalk.bold.bgHex(config?.colors?.success ? config.colors.success : "#087f5b").white("\n\n \u{1F389} Success ")} ${chalk.reset.hex(
|
|
65344
65344
|
config?.colors?.success ? config.colors.success : "#087f5b"
|
|
65345
65345
|
)(message)}
|
|
65346
65346
|
`
|
|
@@ -65350,7 +65350,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
65350
65350
|
if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel || typeof logLevel === "string" && LogLevel.DEBUG >= getLogLevel(logLevel)) {
|
|
65351
65351
|
return (message) => {
|
|
65352
65352
|
console.debug(
|
|
65353
|
-
` ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").
|
|
65353
|
+
` ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white("\n\n \u{1F9EA} Debug ")} ${chalk.reset.hex(
|
|
65354
65354
|
config?.colors?.primary ? config.colors.primary : "#1fb2a6"
|
|
65355
65355
|
)(message)}
|
|
65356
65356
|
`
|
|
@@ -65359,7 +65359,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
65359
65359
|
}
|
|
65360
65360
|
return (message) => {
|
|
65361
65361
|
console.log(
|
|
65362
|
-
` ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").
|
|
65362
|
+
` ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white("\n\n \u{1F4E2} System ")} ${chalk.bold.hex(
|
|
65363
65363
|
config?.colors?.primary ? config.colors.primary : "#1fb2a6"
|
|
65364
65364
|
)(message)}
|
|
65365
65365
|
`
|
|
@@ -130210,7 +130210,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
130210
130210
|
if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel || typeof logLevel === "string" && LogLevel.FATAL >= getLogLevel(logLevel)) {
|
|
130211
130211
|
return (message) => {
|
|
130212
130212
|
console.error(
|
|
130213
|
-
` ${chalk.bold.bgHex(config?.colors?.fatal ? config.colors.fatal : "#1fb2a6").
|
|
130213
|
+
` ${chalk.bold.bgHex(config?.colors?.fatal ? config.colors.fatal : "#1fb2a6").white("\n\n \u{1F480} Fatal ")} ${chalk.reset.hex(
|
|
130214
130214
|
config?.colors?.fatal ? config.colors.fatal : "#1fb2a6"
|
|
130215
130215
|
)(message)}
|
|
130216
130216
|
`
|
|
@@ -130220,7 +130220,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
130220
130220
|
if (typeof logLevel === "number" && LogLevel.ERROR >= logLevel || typeof logLevel === "string" && LogLevel.ERROR >= getLogLevel(logLevel)) {
|
|
130221
130221
|
return (message) => {
|
|
130222
130222
|
console.error(
|
|
130223
|
-
` ${chalk.bold.bgHex(config?.colors?.error ? config.colors.error : "#7d1a1a").
|
|
130223
|
+
` ${chalk.bold.bgHex(config?.colors?.error ? config.colors.error : "#7d1a1a").white("\n\n \u{1F6D1} Error ")} ${chalk.reset.hex(
|
|
130224
130224
|
config?.colors?.error ? config.colors.error : "#7d1a1a"
|
|
130225
130225
|
)(message)}
|
|
130226
130226
|
`
|
|
@@ -130230,7 +130230,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
130230
130230
|
if (typeof logLevel === "number" && LogLevel.WARN >= logLevel || typeof logLevel === "string" && LogLevel.WARN >= getLogLevel(logLevel)) {
|
|
130231
130231
|
return (message) => {
|
|
130232
130232
|
console.warn(
|
|
130233
|
-
` ${chalk.bold.bgHex(config?.colors?.warning ? config.colors.warning : "#fcc419").
|
|
130233
|
+
` ${chalk.bold.bgHex(config?.colors?.warning ? config.colors.warning : "#fcc419").white("\n\n \u26A0\uFE0F Warn ")} ${chalk.reset.hex(
|
|
130234
130234
|
config?.colors?.warning ? config.colors.warning : "#fcc419"
|
|
130235
130235
|
)(message)}
|
|
130236
130236
|
`
|
|
@@ -130240,7 +130240,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
130240
130240
|
if (typeof logLevel === "number" && LogLevel.INFO >= logLevel || typeof logLevel === "string" && LogLevel.INFO >= getLogLevel(logLevel)) {
|
|
130241
130241
|
return (message) => {
|
|
130242
130242
|
console.info(
|
|
130243
|
-
` ${chalk.bold.bgHex(config?.colors?.info ? config.colors.info : "#0ea5e9").
|
|
130243
|
+
` ${chalk.bold.bgHex(config?.colors?.info ? config.colors.info : "#0ea5e9").white("\n\n \u{1F4EC} Info ")} ${chalk.reset.hex(
|
|
130244
130244
|
config?.colors?.info ? config.colors.info : "#0ea5e9"
|
|
130245
130245
|
)(message)}
|
|
130246
130246
|
`
|
|
@@ -130250,7 +130250,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
130250
130250
|
if (typeof logLevel === "number" && LogLevel.INFO >= logLevel || typeof logLevel === "string" && LogLevel.INFO >= getLogLevel(logLevel)) {
|
|
130251
130251
|
return (message) => {
|
|
130252
130252
|
console.info(
|
|
130253
|
-
` ${chalk.bold.bgHex(config?.colors?.success ? config.colors.success : "#087f5b").
|
|
130253
|
+
` ${chalk.bold.bgHex(config?.colors?.success ? config.colors.success : "#087f5b").white("\n\n \u{1F389} Success ")} ${chalk.reset.hex(
|
|
130254
130254
|
config?.colors?.success ? config.colors.success : "#087f5b"
|
|
130255
130255
|
)(message)}
|
|
130256
130256
|
`
|
|
@@ -130260,7 +130260,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
130260
130260
|
if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel || typeof logLevel === "string" && LogLevel.DEBUG >= getLogLevel(logLevel)) {
|
|
130261
130261
|
return (message) => {
|
|
130262
130262
|
console.debug(
|
|
130263
|
-
` ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").
|
|
130263
|
+
` ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white("\n\n \u{1F9EA} Debug ")} ${chalk.reset.hex(
|
|
130264
130264
|
config?.colors?.primary ? config.colors.primary : "#1fb2a6"
|
|
130265
130265
|
)(message)}
|
|
130266
130266
|
`
|
|
@@ -130269,7 +130269,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
130269
130269
|
}
|
|
130270
130270
|
return (message) => {
|
|
130271
130271
|
console.log(
|
|
130272
|
-
` ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").
|
|
130272
|
+
` ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white("\n\n \u{1F4E2} System ")} ${chalk.bold.hex(
|
|
130273
130273
|
config?.colors?.primary ? config.colors.primary : "#1fb2a6"
|
|
130274
130274
|
)(message)}
|
|
130275
130275
|
`
|
|
@@ -130202,7 +130202,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
130202
130202
|
if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel || typeof logLevel === "string" && LogLevel.FATAL >= getLogLevel(logLevel)) {
|
|
130203
130203
|
return (message) => {
|
|
130204
130204
|
console.error(
|
|
130205
|
-
` ${chalk.bold.bgHex(config?.colors?.fatal ? config.colors.fatal : "#1fb2a6").
|
|
130205
|
+
` ${chalk.bold.bgHex(config?.colors?.fatal ? config.colors.fatal : "#1fb2a6").white("\n\n \u{1F480} Fatal ")} ${chalk.reset.hex(
|
|
130206
130206
|
config?.colors?.fatal ? config.colors.fatal : "#1fb2a6"
|
|
130207
130207
|
)(message)}
|
|
130208
130208
|
`
|
|
@@ -130212,7 +130212,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
130212
130212
|
if (typeof logLevel === "number" && LogLevel.ERROR >= logLevel || typeof logLevel === "string" && LogLevel.ERROR >= getLogLevel(logLevel)) {
|
|
130213
130213
|
return (message) => {
|
|
130214
130214
|
console.error(
|
|
130215
|
-
` ${chalk.bold.bgHex(config?.colors?.error ? config.colors.error : "#7d1a1a").
|
|
130215
|
+
` ${chalk.bold.bgHex(config?.colors?.error ? config.colors.error : "#7d1a1a").white("\n\n \u{1F6D1} Error ")} ${chalk.reset.hex(
|
|
130216
130216
|
config?.colors?.error ? config.colors.error : "#7d1a1a"
|
|
130217
130217
|
)(message)}
|
|
130218
130218
|
`
|
|
@@ -130222,7 +130222,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
130222
130222
|
if (typeof logLevel === "number" && LogLevel.WARN >= logLevel || typeof logLevel === "string" && LogLevel.WARN >= getLogLevel(logLevel)) {
|
|
130223
130223
|
return (message) => {
|
|
130224
130224
|
console.warn(
|
|
130225
|
-
` ${chalk.bold.bgHex(config?.colors?.warning ? config.colors.warning : "#fcc419").
|
|
130225
|
+
` ${chalk.bold.bgHex(config?.colors?.warning ? config.colors.warning : "#fcc419").white("\n\n \u26A0\uFE0F Warn ")} ${chalk.reset.hex(
|
|
130226
130226
|
config?.colors?.warning ? config.colors.warning : "#fcc419"
|
|
130227
130227
|
)(message)}
|
|
130228
130228
|
`
|
|
@@ -130232,7 +130232,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
130232
130232
|
if (typeof logLevel === "number" && LogLevel.INFO >= logLevel || typeof logLevel === "string" && LogLevel.INFO >= getLogLevel(logLevel)) {
|
|
130233
130233
|
return (message) => {
|
|
130234
130234
|
console.info(
|
|
130235
|
-
` ${chalk.bold.bgHex(config?.colors?.info ? config.colors.info : "#0ea5e9").
|
|
130235
|
+
` ${chalk.bold.bgHex(config?.colors?.info ? config.colors.info : "#0ea5e9").white("\n\n \u{1F4EC} Info ")} ${chalk.reset.hex(
|
|
130236
130236
|
config?.colors?.info ? config.colors.info : "#0ea5e9"
|
|
130237
130237
|
)(message)}
|
|
130238
130238
|
`
|
|
@@ -130242,7 +130242,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
130242
130242
|
if (typeof logLevel === "number" && LogLevel.INFO >= logLevel || typeof logLevel === "string" && LogLevel.INFO >= getLogLevel(logLevel)) {
|
|
130243
130243
|
return (message) => {
|
|
130244
130244
|
console.info(
|
|
130245
|
-
` ${chalk.bold.bgHex(config?.colors?.success ? config.colors.success : "#087f5b").
|
|
130245
|
+
` ${chalk.bold.bgHex(config?.colors?.success ? config.colors.success : "#087f5b").white("\n\n \u{1F389} Success ")} ${chalk.reset.hex(
|
|
130246
130246
|
config?.colors?.success ? config.colors.success : "#087f5b"
|
|
130247
130247
|
)(message)}
|
|
130248
130248
|
`
|
|
@@ -130252,7 +130252,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
130252
130252
|
if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel || typeof logLevel === "string" && LogLevel.DEBUG >= getLogLevel(logLevel)) {
|
|
130253
130253
|
return (message) => {
|
|
130254
130254
|
console.debug(
|
|
130255
|
-
` ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").
|
|
130255
|
+
` ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white("\n\n \u{1F9EA} Debug ")} ${chalk.reset.hex(
|
|
130256
130256
|
config?.colors?.primary ? config.colors.primary : "#1fb2a6"
|
|
130257
130257
|
)(message)}
|
|
130258
130258
|
`
|
|
@@ -130261,7 +130261,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
130261
130261
|
}
|
|
130262
130262
|
return (message) => {
|
|
130263
130263
|
console.log(
|
|
130264
|
-
` ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").
|
|
130264
|
+
` ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white("\n\n \u{1F4E2} System ")} ${chalk.bold.hex(
|
|
130265
130265
|
config?.colors?.primary ? config.colors.primary : "#1fb2a6"
|
|
130266
130266
|
)(message)}
|
|
130267
130267
|
`
|
|
@@ -130202,7 +130202,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
130202
130202
|
if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel || typeof logLevel === "string" && LogLevel.FATAL >= getLogLevel(logLevel)) {
|
|
130203
130203
|
return (message) => {
|
|
130204
130204
|
console.error(
|
|
130205
|
-
` ${chalk.bold.bgHex(config?.colors?.fatal ? config.colors.fatal : "#1fb2a6").
|
|
130205
|
+
` ${chalk.bold.bgHex(config?.colors?.fatal ? config.colors.fatal : "#1fb2a6").white("\n\n \u{1F480} Fatal ")} ${chalk.reset.hex(
|
|
130206
130206
|
config?.colors?.fatal ? config.colors.fatal : "#1fb2a6"
|
|
130207
130207
|
)(message)}
|
|
130208
130208
|
`
|
|
@@ -130212,7 +130212,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
130212
130212
|
if (typeof logLevel === "number" && LogLevel.ERROR >= logLevel || typeof logLevel === "string" && LogLevel.ERROR >= getLogLevel(logLevel)) {
|
|
130213
130213
|
return (message) => {
|
|
130214
130214
|
console.error(
|
|
130215
|
-
` ${chalk.bold.bgHex(config?.colors?.error ? config.colors.error : "#7d1a1a").
|
|
130215
|
+
` ${chalk.bold.bgHex(config?.colors?.error ? config.colors.error : "#7d1a1a").white("\n\n \u{1F6D1} Error ")} ${chalk.reset.hex(
|
|
130216
130216
|
config?.colors?.error ? config.colors.error : "#7d1a1a"
|
|
130217
130217
|
)(message)}
|
|
130218
130218
|
`
|
|
@@ -130222,7 +130222,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
130222
130222
|
if (typeof logLevel === "number" && LogLevel.WARN >= logLevel || typeof logLevel === "string" && LogLevel.WARN >= getLogLevel(logLevel)) {
|
|
130223
130223
|
return (message) => {
|
|
130224
130224
|
console.warn(
|
|
130225
|
-
` ${chalk.bold.bgHex(config?.colors?.warning ? config.colors.warning : "#fcc419").
|
|
130225
|
+
` ${chalk.bold.bgHex(config?.colors?.warning ? config.colors.warning : "#fcc419").white("\n\n \u26A0\uFE0F Warn ")} ${chalk.reset.hex(
|
|
130226
130226
|
config?.colors?.warning ? config.colors.warning : "#fcc419"
|
|
130227
130227
|
)(message)}
|
|
130228
130228
|
`
|
|
@@ -130232,7 +130232,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
130232
130232
|
if (typeof logLevel === "number" && LogLevel.INFO >= logLevel || typeof logLevel === "string" && LogLevel.INFO >= getLogLevel(logLevel)) {
|
|
130233
130233
|
return (message) => {
|
|
130234
130234
|
console.info(
|
|
130235
|
-
` ${chalk.bold.bgHex(config?.colors?.info ? config.colors.info : "#0ea5e9").
|
|
130235
|
+
` ${chalk.bold.bgHex(config?.colors?.info ? config.colors.info : "#0ea5e9").white("\n\n \u{1F4EC} Info ")} ${chalk.reset.hex(
|
|
130236
130236
|
config?.colors?.info ? config.colors.info : "#0ea5e9"
|
|
130237
130237
|
)(message)}
|
|
130238
130238
|
`
|
|
@@ -130242,7 +130242,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
130242
130242
|
if (typeof logLevel === "number" && LogLevel.INFO >= logLevel || typeof logLevel === "string" && LogLevel.INFO >= getLogLevel(logLevel)) {
|
|
130243
130243
|
return (message) => {
|
|
130244
130244
|
console.info(
|
|
130245
|
-
` ${chalk.bold.bgHex(config?.colors?.success ? config.colors.success : "#087f5b").
|
|
130245
|
+
` ${chalk.bold.bgHex(config?.colors?.success ? config.colors.success : "#087f5b").white("\n\n \u{1F389} Success ")} ${chalk.reset.hex(
|
|
130246
130246
|
config?.colors?.success ? config.colors.success : "#087f5b"
|
|
130247
130247
|
)(message)}
|
|
130248
130248
|
`
|
|
@@ -130252,7 +130252,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
130252
130252
|
if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel || typeof logLevel === "string" && LogLevel.DEBUG >= getLogLevel(logLevel)) {
|
|
130253
130253
|
return (message) => {
|
|
130254
130254
|
console.debug(
|
|
130255
|
-
` ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").
|
|
130255
|
+
` ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white("\n\n \u{1F9EA} Debug ")} ${chalk.reset.hex(
|
|
130256
130256
|
config?.colors?.primary ? config.colors.primary : "#1fb2a6"
|
|
130257
130257
|
)(message)}
|
|
130258
130258
|
`
|
|
@@ -130261,7 +130261,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
130261
130261
|
}
|
|
130262
130262
|
return (message) => {
|
|
130263
130263
|
console.log(
|
|
130264
|
-
` ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").
|
|
130264
|
+
` ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white("\n\n \u{1F4E2} System ")} ${chalk.bold.hex(
|
|
130265
130265
|
config?.colors?.primary ? config.colors.primary : "#1fb2a6"
|
|
130266
130266
|
)(message)}
|
|
130267
130267
|
`
|
|
@@ -130202,7 +130202,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
130202
130202
|
if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel || typeof logLevel === "string" && LogLevel.FATAL >= getLogLevel(logLevel)) {
|
|
130203
130203
|
return (message) => {
|
|
130204
130204
|
console.error(
|
|
130205
|
-
` ${chalk.bold.bgHex(config?.colors?.fatal ? config.colors.fatal : "#1fb2a6").
|
|
130205
|
+
` ${chalk.bold.bgHex(config?.colors?.fatal ? config.colors.fatal : "#1fb2a6").white("\n\n \u{1F480} Fatal ")} ${chalk.reset.hex(
|
|
130206
130206
|
config?.colors?.fatal ? config.colors.fatal : "#1fb2a6"
|
|
130207
130207
|
)(message)}
|
|
130208
130208
|
`
|
|
@@ -130212,7 +130212,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
130212
130212
|
if (typeof logLevel === "number" && LogLevel.ERROR >= logLevel || typeof logLevel === "string" && LogLevel.ERROR >= getLogLevel(logLevel)) {
|
|
130213
130213
|
return (message) => {
|
|
130214
130214
|
console.error(
|
|
130215
|
-
` ${chalk.bold.bgHex(config?.colors?.error ? config.colors.error : "#7d1a1a").
|
|
130215
|
+
` ${chalk.bold.bgHex(config?.colors?.error ? config.colors.error : "#7d1a1a").white("\n\n \u{1F6D1} Error ")} ${chalk.reset.hex(
|
|
130216
130216
|
config?.colors?.error ? config.colors.error : "#7d1a1a"
|
|
130217
130217
|
)(message)}
|
|
130218
130218
|
`
|
|
@@ -130222,7 +130222,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
130222
130222
|
if (typeof logLevel === "number" && LogLevel.WARN >= logLevel || typeof logLevel === "string" && LogLevel.WARN >= getLogLevel(logLevel)) {
|
|
130223
130223
|
return (message) => {
|
|
130224
130224
|
console.warn(
|
|
130225
|
-
` ${chalk.bold.bgHex(config?.colors?.warning ? config.colors.warning : "#fcc419").
|
|
130225
|
+
` ${chalk.bold.bgHex(config?.colors?.warning ? config.colors.warning : "#fcc419").white("\n\n \u26A0\uFE0F Warn ")} ${chalk.reset.hex(
|
|
130226
130226
|
config?.colors?.warning ? config.colors.warning : "#fcc419"
|
|
130227
130227
|
)(message)}
|
|
130228
130228
|
`
|
|
@@ -130232,7 +130232,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
130232
130232
|
if (typeof logLevel === "number" && LogLevel.INFO >= logLevel || typeof logLevel === "string" && LogLevel.INFO >= getLogLevel(logLevel)) {
|
|
130233
130233
|
return (message) => {
|
|
130234
130234
|
console.info(
|
|
130235
|
-
` ${chalk.bold.bgHex(config?.colors?.info ? config.colors.info : "#0ea5e9").
|
|
130235
|
+
` ${chalk.bold.bgHex(config?.colors?.info ? config.colors.info : "#0ea5e9").white("\n\n \u{1F4EC} Info ")} ${chalk.reset.hex(
|
|
130236
130236
|
config?.colors?.info ? config.colors.info : "#0ea5e9"
|
|
130237
130237
|
)(message)}
|
|
130238
130238
|
`
|
|
@@ -130242,7 +130242,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
130242
130242
|
if (typeof logLevel === "number" && LogLevel.INFO >= logLevel || typeof logLevel === "string" && LogLevel.INFO >= getLogLevel(logLevel)) {
|
|
130243
130243
|
return (message) => {
|
|
130244
130244
|
console.info(
|
|
130245
|
-
` ${chalk.bold.bgHex(config?.colors?.success ? config.colors.success : "#087f5b").
|
|
130245
|
+
` ${chalk.bold.bgHex(config?.colors?.success ? config.colors.success : "#087f5b").white("\n\n \u{1F389} Success ")} ${chalk.reset.hex(
|
|
130246
130246
|
config?.colors?.success ? config.colors.success : "#087f5b"
|
|
130247
130247
|
)(message)}
|
|
130248
130248
|
`
|
|
@@ -130252,7 +130252,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
130252
130252
|
if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel || typeof logLevel === "string" && LogLevel.DEBUG >= getLogLevel(logLevel)) {
|
|
130253
130253
|
return (message) => {
|
|
130254
130254
|
console.debug(
|
|
130255
|
-
` ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").
|
|
130255
|
+
` ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white("\n\n \u{1F9EA} Debug ")} ${chalk.reset.hex(
|
|
130256
130256
|
config?.colors?.primary ? config.colors.primary : "#1fb2a6"
|
|
130257
130257
|
)(message)}
|
|
130258
130258
|
`
|
|
@@ -130261,7 +130261,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
130261
130261
|
}
|
|
130262
130262
|
return (message) => {
|
|
130263
130263
|
console.log(
|
|
130264
|
-
` ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").
|
|
130264
|
+
` ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white("\n\n \u{1F4E2} System ")} ${chalk.bold.hex(
|
|
130265
130265
|
config?.colors?.primary ? config.colors.primary : "#1fb2a6"
|
|
130266
130266
|
)(message)}
|
|
130267
130267
|
`
|
|
@@ -47377,7 +47377,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
47377
47377
|
if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel || typeof logLevel === "string" && LogLevel.FATAL >= getLogLevel(logLevel)) {
|
|
47378
47378
|
return (message) => {
|
|
47379
47379
|
console.error(
|
|
47380
|
-
` ${chalk.bold.bgHex(config?.colors?.fatal ? config.colors.fatal : "#1fb2a6").
|
|
47380
|
+
` ${chalk.bold.bgHex(config?.colors?.fatal ? config.colors.fatal : "#1fb2a6").white("\n\n \u{1F480} Fatal ")} ${chalk.reset.hex(
|
|
47381
47381
|
config?.colors?.fatal ? config.colors.fatal : "#1fb2a6"
|
|
47382
47382
|
)(message)}
|
|
47383
47383
|
`
|
|
@@ -47387,7 +47387,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
47387
47387
|
if (typeof logLevel === "number" && LogLevel.ERROR >= logLevel || typeof logLevel === "string" && LogLevel.ERROR >= getLogLevel(logLevel)) {
|
|
47388
47388
|
return (message) => {
|
|
47389
47389
|
console.error(
|
|
47390
|
-
` ${chalk.bold.bgHex(config?.colors?.error ? config.colors.error : "#7d1a1a").
|
|
47390
|
+
` ${chalk.bold.bgHex(config?.colors?.error ? config.colors.error : "#7d1a1a").white("\n\n \u{1F6D1} Error ")} ${chalk.reset.hex(
|
|
47391
47391
|
config?.colors?.error ? config.colors.error : "#7d1a1a"
|
|
47392
47392
|
)(message)}
|
|
47393
47393
|
`
|
|
@@ -47397,7 +47397,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
47397
47397
|
if (typeof logLevel === "number" && LogLevel.WARN >= logLevel || typeof logLevel === "string" && LogLevel.WARN >= getLogLevel(logLevel)) {
|
|
47398
47398
|
return (message) => {
|
|
47399
47399
|
console.warn(
|
|
47400
|
-
` ${chalk.bold.bgHex(config?.colors?.warning ? config.colors.warning : "#fcc419").
|
|
47400
|
+
` ${chalk.bold.bgHex(config?.colors?.warning ? config.colors.warning : "#fcc419").white("\n\n \u26A0\uFE0F Warn ")} ${chalk.reset.hex(
|
|
47401
47401
|
config?.colors?.warning ? config.colors.warning : "#fcc419"
|
|
47402
47402
|
)(message)}
|
|
47403
47403
|
`
|
|
@@ -47407,7 +47407,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
47407
47407
|
if (typeof logLevel === "number" && LogLevel.INFO >= logLevel || typeof logLevel === "string" && LogLevel.INFO >= getLogLevel(logLevel)) {
|
|
47408
47408
|
return (message) => {
|
|
47409
47409
|
console.info(
|
|
47410
|
-
` ${chalk.bold.bgHex(config?.colors?.info ? config.colors.info : "#0ea5e9").
|
|
47410
|
+
` ${chalk.bold.bgHex(config?.colors?.info ? config.colors.info : "#0ea5e9").white("\n\n \u{1F4EC} Info ")} ${chalk.reset.hex(
|
|
47411
47411
|
config?.colors?.info ? config.colors.info : "#0ea5e9"
|
|
47412
47412
|
)(message)}
|
|
47413
47413
|
`
|
|
@@ -47417,7 +47417,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
47417
47417
|
if (typeof logLevel === "number" && LogLevel.INFO >= logLevel || typeof logLevel === "string" && LogLevel.INFO >= getLogLevel(logLevel)) {
|
|
47418
47418
|
return (message) => {
|
|
47419
47419
|
console.info(
|
|
47420
|
-
` ${chalk.bold.bgHex(config?.colors?.success ? config.colors.success : "#087f5b").
|
|
47420
|
+
` ${chalk.bold.bgHex(config?.colors?.success ? config.colors.success : "#087f5b").white("\n\n \u{1F389} Success ")} ${chalk.reset.hex(
|
|
47421
47421
|
config?.colors?.success ? config.colors.success : "#087f5b"
|
|
47422
47422
|
)(message)}
|
|
47423
47423
|
`
|
|
@@ -47427,7 +47427,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
47427
47427
|
if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel || typeof logLevel === "string" && LogLevel.DEBUG >= getLogLevel(logLevel)) {
|
|
47428
47428
|
return (message) => {
|
|
47429
47429
|
console.debug(
|
|
47430
|
-
` ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").
|
|
47430
|
+
` ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white("\n\n \u{1F9EA} Debug ")} ${chalk.reset.hex(
|
|
47431
47431
|
config?.colors?.primary ? config.colors.primary : "#1fb2a6"
|
|
47432
47432
|
)(message)}
|
|
47433
47433
|
`
|
|
@@ -47436,7 +47436,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
47436
47436
|
}
|
|
47437
47437
|
return (message) => {
|
|
47438
47438
|
console.log(
|
|
47439
|
-
` ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").
|
|
47439
|
+
` ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white("\n\n \u{1F4E2} System ")} ${chalk.bold.hex(
|
|
47440
47440
|
config?.colors?.primary ? config.colors.primary : "#1fb2a6"
|
|
47441
47441
|
)(message)}
|
|
47442
47442
|
`
|
|
@@ -30135,7 +30135,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
30135
30135
|
if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel || typeof logLevel === "string" && LogLevel.FATAL >= getLogLevel(logLevel)) {
|
|
30136
30136
|
return (message) => {
|
|
30137
30137
|
console.error(
|
|
30138
|
-
` ${chalk.bold.bgHex(config?.colors?.fatal ? config.colors.fatal : "#1fb2a6").
|
|
30138
|
+
` ${chalk.bold.bgHex(config?.colors?.fatal ? config.colors.fatal : "#1fb2a6").white("\n\n \u{1F480} Fatal ")} ${chalk.reset.hex(
|
|
30139
30139
|
config?.colors?.fatal ? config.colors.fatal : "#1fb2a6"
|
|
30140
30140
|
)(message)}
|
|
30141
30141
|
`
|
|
@@ -30145,7 +30145,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
30145
30145
|
if (typeof logLevel === "number" && LogLevel.ERROR >= logLevel || typeof logLevel === "string" && LogLevel.ERROR >= getLogLevel(logLevel)) {
|
|
30146
30146
|
return (message) => {
|
|
30147
30147
|
console.error(
|
|
30148
|
-
` ${chalk.bold.bgHex(config?.colors?.error ? config.colors.error : "#7d1a1a").
|
|
30148
|
+
` ${chalk.bold.bgHex(config?.colors?.error ? config.colors.error : "#7d1a1a").white("\n\n \u{1F6D1} Error ")} ${chalk.reset.hex(
|
|
30149
30149
|
config?.colors?.error ? config.colors.error : "#7d1a1a"
|
|
30150
30150
|
)(message)}
|
|
30151
30151
|
`
|
|
@@ -30155,7 +30155,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
30155
30155
|
if (typeof logLevel === "number" && LogLevel.WARN >= logLevel || typeof logLevel === "string" && LogLevel.WARN >= getLogLevel(logLevel)) {
|
|
30156
30156
|
return (message) => {
|
|
30157
30157
|
console.warn(
|
|
30158
|
-
` ${chalk.bold.bgHex(config?.colors?.warning ? config.colors.warning : "#fcc419").
|
|
30158
|
+
` ${chalk.bold.bgHex(config?.colors?.warning ? config.colors.warning : "#fcc419").white("\n\n \u26A0\uFE0F Warn ")} ${chalk.reset.hex(
|
|
30159
30159
|
config?.colors?.warning ? config.colors.warning : "#fcc419"
|
|
30160
30160
|
)(message)}
|
|
30161
30161
|
`
|
|
@@ -30165,7 +30165,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
30165
30165
|
if (typeof logLevel === "number" && LogLevel.INFO >= logLevel || typeof logLevel === "string" && LogLevel.INFO >= getLogLevel(logLevel)) {
|
|
30166
30166
|
return (message) => {
|
|
30167
30167
|
console.info(
|
|
30168
|
-
` ${chalk.bold.bgHex(config?.colors?.info ? config.colors.info : "#0ea5e9").
|
|
30168
|
+
` ${chalk.bold.bgHex(config?.colors?.info ? config.colors.info : "#0ea5e9").white("\n\n \u{1F4EC} Info ")} ${chalk.reset.hex(
|
|
30169
30169
|
config?.colors?.info ? config.colors.info : "#0ea5e9"
|
|
30170
30170
|
)(message)}
|
|
30171
30171
|
`
|
|
@@ -30175,7 +30175,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
30175
30175
|
if (typeof logLevel === "number" && LogLevel.INFO >= logLevel || typeof logLevel === "string" && LogLevel.INFO >= getLogLevel(logLevel)) {
|
|
30176
30176
|
return (message) => {
|
|
30177
30177
|
console.info(
|
|
30178
|
-
` ${chalk.bold.bgHex(config?.colors?.success ? config.colors.success : "#087f5b").
|
|
30178
|
+
` ${chalk.bold.bgHex(config?.colors?.success ? config.colors.success : "#087f5b").white("\n\n \u{1F389} Success ")} ${chalk.reset.hex(
|
|
30179
30179
|
config?.colors?.success ? config.colors.success : "#087f5b"
|
|
30180
30180
|
)(message)}
|
|
30181
30181
|
`
|
|
@@ -30185,7 +30185,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
30185
30185
|
if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel || typeof logLevel === "string" && LogLevel.DEBUG >= getLogLevel(logLevel)) {
|
|
30186
30186
|
return (message) => {
|
|
30187
30187
|
console.debug(
|
|
30188
|
-
` ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").
|
|
30188
|
+
` ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white("\n\n \u{1F9EA} Debug ")} ${chalk.reset.hex(
|
|
30189
30189
|
config?.colors?.primary ? config.colors.primary : "#1fb2a6"
|
|
30190
30190
|
)(message)}
|
|
30191
30191
|
`
|
|
@@ -30194,7 +30194,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
30194
30194
|
}
|
|
30195
30195
|
return (message) => {
|
|
30196
30196
|
console.log(
|
|
30197
|
-
` ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").
|
|
30197
|
+
` ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white("\n\n \u{1F4E2} System ")} ${chalk.bold.hex(
|
|
30198
30198
|
config?.colors?.primary ? config.colors.primary : "#1fb2a6"
|
|
30199
30199
|
)(message)}
|
|
30200
30200
|
`
|
|
@@ -47377,7 +47377,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
47377
47377
|
if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel || typeof logLevel === "string" && LogLevel.FATAL >= getLogLevel(logLevel)) {
|
|
47378
47378
|
return (message) => {
|
|
47379
47379
|
console.error(
|
|
47380
|
-
` ${chalk.bold.bgHex(config?.colors?.fatal ? config.colors.fatal : "#1fb2a6").
|
|
47380
|
+
` ${chalk.bold.bgHex(config?.colors?.fatal ? config.colors.fatal : "#1fb2a6").white("\n\n \u{1F480} Fatal ")} ${chalk.reset.hex(
|
|
47381
47381
|
config?.colors?.fatal ? config.colors.fatal : "#1fb2a6"
|
|
47382
47382
|
)(message)}
|
|
47383
47383
|
`
|
|
@@ -47387,7 +47387,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
47387
47387
|
if (typeof logLevel === "number" && LogLevel.ERROR >= logLevel || typeof logLevel === "string" && LogLevel.ERROR >= getLogLevel(logLevel)) {
|
|
47388
47388
|
return (message) => {
|
|
47389
47389
|
console.error(
|
|
47390
|
-
` ${chalk.bold.bgHex(config?.colors?.error ? config.colors.error : "#7d1a1a").
|
|
47390
|
+
` ${chalk.bold.bgHex(config?.colors?.error ? config.colors.error : "#7d1a1a").white("\n\n \u{1F6D1} Error ")} ${chalk.reset.hex(
|
|
47391
47391
|
config?.colors?.error ? config.colors.error : "#7d1a1a"
|
|
47392
47392
|
)(message)}
|
|
47393
47393
|
`
|
|
@@ -47397,7 +47397,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
47397
47397
|
if (typeof logLevel === "number" && LogLevel.WARN >= logLevel || typeof logLevel === "string" && LogLevel.WARN >= getLogLevel(logLevel)) {
|
|
47398
47398
|
return (message) => {
|
|
47399
47399
|
console.warn(
|
|
47400
|
-
` ${chalk.bold.bgHex(config?.colors?.warning ? config.colors.warning : "#fcc419").
|
|
47400
|
+
` ${chalk.bold.bgHex(config?.colors?.warning ? config.colors.warning : "#fcc419").white("\n\n \u26A0\uFE0F Warn ")} ${chalk.reset.hex(
|
|
47401
47401
|
config?.colors?.warning ? config.colors.warning : "#fcc419"
|
|
47402
47402
|
)(message)}
|
|
47403
47403
|
`
|
|
@@ -47407,7 +47407,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
47407
47407
|
if (typeof logLevel === "number" && LogLevel.INFO >= logLevel || typeof logLevel === "string" && LogLevel.INFO >= getLogLevel(logLevel)) {
|
|
47408
47408
|
return (message) => {
|
|
47409
47409
|
console.info(
|
|
47410
|
-
` ${chalk.bold.bgHex(config?.colors?.info ? config.colors.info : "#0ea5e9").
|
|
47410
|
+
` ${chalk.bold.bgHex(config?.colors?.info ? config.colors.info : "#0ea5e9").white("\n\n \u{1F4EC} Info ")} ${chalk.reset.hex(
|
|
47411
47411
|
config?.colors?.info ? config.colors.info : "#0ea5e9"
|
|
47412
47412
|
)(message)}
|
|
47413
47413
|
`
|
|
@@ -47417,7 +47417,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
47417
47417
|
if (typeof logLevel === "number" && LogLevel.INFO >= logLevel || typeof logLevel === "string" && LogLevel.INFO >= getLogLevel(logLevel)) {
|
|
47418
47418
|
return (message) => {
|
|
47419
47419
|
console.info(
|
|
47420
|
-
` ${chalk.bold.bgHex(config?.colors?.success ? config.colors.success : "#087f5b").
|
|
47420
|
+
` ${chalk.bold.bgHex(config?.colors?.success ? config.colors.success : "#087f5b").white("\n\n \u{1F389} Success ")} ${chalk.reset.hex(
|
|
47421
47421
|
config?.colors?.success ? config.colors.success : "#087f5b"
|
|
47422
47422
|
)(message)}
|
|
47423
47423
|
`
|
|
@@ -47427,7 +47427,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
47427
47427
|
if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel || typeof logLevel === "string" && LogLevel.DEBUG >= getLogLevel(logLevel)) {
|
|
47428
47428
|
return (message) => {
|
|
47429
47429
|
console.debug(
|
|
47430
|
-
` ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").
|
|
47430
|
+
` ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white("\n\n \u{1F9EA} Debug ")} ${chalk.reset.hex(
|
|
47431
47431
|
config?.colors?.primary ? config.colors.primary : "#1fb2a6"
|
|
47432
47432
|
)(message)}
|
|
47433
47433
|
`
|
|
@@ -47436,7 +47436,7 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
|
|
|
47436
47436
|
}
|
|
47437
47437
|
return (message) => {
|
|
47438
47438
|
console.log(
|
|
47439
|
-
` ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").
|
|
47439
|
+
` ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white("\n\n \u{1F4E2} System ")} ${chalk.bold.hex(
|
|
47440
47440
|
config?.colors?.primary ? config.colors.primary : "#1fb2a6"
|
|
47441
47441
|
)(message)}
|
|
47442
47442
|
`
|