2

目前我正在初始化调试模块

import express = require('express');
import debug = require('debug');

var routeLogger = debug('myapp:routes:index');
var router = express.Router();
routeLogger('Start setting up index route');

我想知道我是否可以为调试功能添加多个名称?如debug('myapp,routes,indexRoute')

4

0 回答 0