GithubHelp home page GithubHelp logo

yog2-kernel's Introduction

yog2-kernel's People

Contributors

2betop avatar andycall avatar baidufe avatar dependabot[bot] avatar greenkeeperio-bot avatar hefangshi avatar leeight avatar nwind avatar oxund avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

yog2-kernel's Issues

SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode

SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Function. (/data/nodejs/lib/node_modules/pm2/node_modules/pmx/lib/transaction.js:62:21)
at Function.Module._load (/data/shop-i18n/clientServer/node_modules/_yog2-kernel@1.9.2@yog2-kernel/plugins/isomorphic/index.js:41:20)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object. (/data/shop-i18n/clientServer/node_modules/_debug@4.1.0@debug/src/index.js:9:19)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Function. (/data/nodejs/lib/node_modules/pm2/node_modules/pmx/lib/transaction.js:62:21)
at Function.Module._load (/data/shop-i18n/clientServer/node_modules/_yog2-kernel@1.9.2@yog2-kernel/plugins/isomorphic/index.js:41:20)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object. (/data/shop-i18n/clientServer/node_modules/_i18n@0.8.3@i18n/i18n.js:16:11)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
[root@frankfurt-motor clientServer]# ls /data/shop-i18n/clientServer/node_modules/_yog2-kernel@1.9.2@yog2-kernel/plugins/isomorphic/index.js

为每个middleware添加执行时间的日志

现在想统计每个接口内各个阶段调用的耗时比较麻烦,是否可以在yog2-kernel里面添加一些支持,可以输出每次请求在每个middleware的执行过程中消耗的时间。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.