elegance-js 1.11.30 → 1.11.31
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/build.mjs +3 -4
- package/dist/compile_docs.mjs +3 -4
- package/dist/log.mjs +3 -4
- package/dist/server/server.mjs +3 -4
- package/package.json +1 -1
package/dist/build.mjs
CHANGED
|
@@ -26,15 +26,14 @@ function color(text, code) {
|
|
|
26
26
|
}
|
|
27
27
|
function logInfo(...args) {
|
|
28
28
|
if (quiet) return;
|
|
29
|
-
console.info(
|
|
29
|
+
console.info(`Elegance.JS: ${getTimestamp()} ${color("[INFO]:", 34)}`, ...args);
|
|
30
30
|
}
|
|
31
31
|
function logWarn(...args) {
|
|
32
32
|
if (quiet) return;
|
|
33
|
-
console.warn(
|
|
33
|
+
console.warn(`Elegance.JS: ${getTimestamp()} ${color("[WARN]:", 33)}`, ...args);
|
|
34
34
|
}
|
|
35
35
|
function logError(...args) {
|
|
36
|
-
|
|
37
|
-
console.error(`${getTimestamp()} ${color("[ERROR]:", 31)}`, ...args);
|
|
36
|
+
console.error(`Elegance.JS: ${getTimestamp()} ${color("[ERROR]:", 31)}`, ...args);
|
|
38
37
|
}
|
|
39
38
|
var log = {
|
|
40
39
|
info: logInfo,
|
package/dist/compile_docs.mjs
CHANGED
|
@@ -29,15 +29,14 @@ function color(text, code) {
|
|
|
29
29
|
}
|
|
30
30
|
function logInfo(...args) {
|
|
31
31
|
if (quiet) return;
|
|
32
|
-
console.info(
|
|
32
|
+
console.info(`Elegance.JS: ${getTimestamp()} ${color("[INFO]:", 34)}`, ...args);
|
|
33
33
|
}
|
|
34
34
|
function logWarn(...args) {
|
|
35
35
|
if (quiet) return;
|
|
36
|
-
console.warn(
|
|
36
|
+
console.warn(`Elegance.JS: ${getTimestamp()} ${color("[WARN]:", 33)}`, ...args);
|
|
37
37
|
}
|
|
38
38
|
function logError(...args) {
|
|
39
|
-
|
|
40
|
-
console.error(`${getTimestamp()} ${color("[ERROR]:", 31)}`, ...args);
|
|
39
|
+
console.error(`Elegance.JS: ${getTimestamp()} ${color("[ERROR]:", 31)}`, ...args);
|
|
41
40
|
}
|
|
42
41
|
var log = {
|
|
43
42
|
info: logInfo,
|
package/dist/log.mjs
CHANGED
|
@@ -19,15 +19,14 @@ function color(text, code) {
|
|
|
19
19
|
}
|
|
20
20
|
function logInfo(...args) {
|
|
21
21
|
if (quiet) return;
|
|
22
|
-
console.info(
|
|
22
|
+
console.info(`Elegance.JS: ${getTimestamp()} ${color("[INFO]:", 34)}`, ...args);
|
|
23
23
|
}
|
|
24
24
|
function logWarn(...args) {
|
|
25
25
|
if (quiet) return;
|
|
26
|
-
console.warn(
|
|
26
|
+
console.warn(`Elegance.JS: ${getTimestamp()} ${color("[WARN]:", 33)}`, ...args);
|
|
27
27
|
}
|
|
28
28
|
function logError(...args) {
|
|
29
|
-
|
|
30
|
-
console.error(`${getTimestamp()} ${color("[ERROR]:", 31)}`, ...args);
|
|
29
|
+
console.error(`Elegance.JS: ${getTimestamp()} ${color("[ERROR]:", 31)}`, ...args);
|
|
31
30
|
}
|
|
32
31
|
var log = {
|
|
33
32
|
info: logInfo,
|
package/dist/server/server.mjs
CHANGED
|
@@ -592,15 +592,14 @@ function color(text, code) {
|
|
|
592
592
|
}
|
|
593
593
|
function logInfo(...args) {
|
|
594
594
|
if (quiet) return;
|
|
595
|
-
console.info(
|
|
595
|
+
console.info(`Elegance.JS: ${getTimestamp()} ${color("[INFO]:", 34)}`, ...args);
|
|
596
596
|
}
|
|
597
597
|
function logWarn(...args) {
|
|
598
598
|
if (quiet) return;
|
|
599
|
-
console.warn(
|
|
599
|
+
console.warn(`Elegance.JS: ${getTimestamp()} ${color("[WARN]:", 33)}`, ...args);
|
|
600
600
|
}
|
|
601
601
|
function logError(...args) {
|
|
602
|
-
|
|
603
|
-
console.error(`${getTimestamp()} ${color("[ERROR]:", 31)}`, ...args);
|
|
602
|
+
console.error(`Elegance.JS: ${getTimestamp()} ${color("[ERROR]:", 31)}`, ...args);
|
|
604
603
|
}
|
|
605
604
|
var log = {
|
|
606
605
|
info: logInfo,
|