diff --git a/src/Layer.ts b/src/Layer.ts index 2d4b4a1..02d4480 100644 --- a/src/Layer.ts +++ b/src/Layer.ts @@ -9,7 +9,7 @@ import type { ParamMiddlewareFunc, } from './types.js'; -const debug = debuglog('egg-router:layer'); +const debug = debuglog('@eggjs/router:Layer'); export interface LayerOptions { prefix?: string; diff --git a/src/Router.ts b/src/Router.ts index 116cc60..c857569 100644 --- a/src/Router.ts +++ b/src/Router.ts @@ -10,7 +10,7 @@ import methods from 'methods'; import { Layer, LayerURLOptions } from './Layer.js'; import { MiddlewareFunc, MiddlewareFuncWithRouter, Next, ParamMiddlewareFunc, ResourcesController } from './types.js'; -const debug = debuglog('egg-router:router'); +const debug = debuglog('@eggjs/router:Router'); export type RouterMethod = typeof methods[0];