@kever/traceid
v1.1.2
Published
kever 插件 生成traceId 挂载到context上
Downloads
6
Readme
a kever global plugin, generate traceid and mount it to context.
Install
npm install @kever/traceid --save
Start
//index.ts
import { createApp } from '@kever/core'
createApp({
port: 9000,
plugins: [
'@kever/traceid'
]
})
// tsconfig.json
{
"compilerOptions": {
"types": [
"@kever/traceid"
],
}