Browse Source

测试代码3

MaiXinRong 3 years ago
parent
commit
dd808e34da
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/controller/dashboard_controller.js

+ 1 - 1
app/controller/dashboard_controller.js

@@ -225,7 +225,7 @@ module.exports = app => {
         }
 
         async logTest(ctx) {
-            ctx.body = JSON.stringify(ctx.logger, '', '\t');
+            ctx.body = JSON.stringify(ctx.app.loggers, '', '\t');
         }
     }