@bool-ts/core 2.3.4 → 2.3.5
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.js +3 -3
- package/dist/index.js.map +3 -3
- package/package.json +1 -1
- package/src/entities/application.ts +5 -5
package/package.json
CHANGED
|
@@ -402,7 +402,7 @@ export class Application<TRootClass extends Object = Object> {
|
|
|
402
402
|
}
|
|
403
403
|
);
|
|
404
404
|
const convertedResponseStatus = ansiText(
|
|
405
|
-
` ${inferedResponseStatus}
|
|
405
|
+
` ${inferedResponseStatus} `,
|
|
406
406
|
(() => {
|
|
407
407
|
if (inferedResponseStatus >= 100 && inferedResponseStatus < 200)
|
|
408
408
|
return {
|
|
@@ -443,12 +443,12 @@ export class Application<TRootClass extends Object = Object> {
|
|
|
443
443
|
console.info(
|
|
444
444
|
[
|
|
445
445
|
`PID: ${convertedPID}`,
|
|
446
|
-
`Method: ${convertedMethod}`,
|
|
447
|
-
`
|
|
448
|
-
`Time: ${convertedTime}`,
|
|
446
|
+
`Method: ${convertedMethod.padStart(10)}`,
|
|
447
|
+
`Time: ${convertedTime.padStart(10)}`,
|
|
449
448
|
typeof responseStatus !== "number" || !responseStatus
|
|
450
449
|
? undefined
|
|
451
|
-
: convertedResponseStatus,
|
|
450
|
+
: convertedResponseStatus.padStart(5),
|
|
451
|
+
`IP: ${convertedReqIp}`,
|
|
452
452
|
pathname
|
|
453
453
|
]
|
|
454
454
|
.filter((x) => !!x?.trim())
|