@rdyl/node-koa-controller 0.1.1 → 0.1.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 CHANGED
@@ -1,4 +1,4 @@
1
- ## 0.1.1 (2025-04-07)
1
+ ## 0.1.2 (2025-04-07)
2
2
 
3
3
 
4
4
 
@@ -218,7 +218,7 @@ function useController(app, opts) {
218
218
  else
219
219
  statusColor = chalk_1.default.gray;
220
220
  dateTime = (0, utils_1.formatDateTime)();
221
- console.log("- [".concat(dateTime, "] ").concat(chalk_1.default.magenta(method), " ").concat(ctx.url, " ").concat(statusColor(status_1), " ").concat(chalk_1.default.gray("".concat(duration, "ms"))));
221
+ console.log("- [".concat(dateTime, " | ").concat(chalk_1.default.gray("".concat(duration, "ms")), "] ").concat(chalk_1.default.magenta(method)).concat(ctx.url, " ").concat(statusColor(status_1)));
222
222
  return [7 /*endfinally*/];
223
223
  case 4: return [2 /*return*/];
224
224
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rdyl/node-koa-controller",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "types": "types/index.d.ts",