Giter Site home page Giter Site logo

common's Issues

tprinter可以考虑的2个升级

  1. 支持只打印数据本身(去除表头等装饰性内容),以便脚本的处理(例如awk)
  2. 支持动态效果,最好支持彩色

日志功能增加level function line等tag

06/21 15:17:58.445392 25152 [INFO][test_logging.cc:14:writelog]|helloworld111111 06/21 15:17:58.445428 25150 [DEBUG][test_logging.cc:33:main]|helloworld2222 06/21 15:17:58.445431 25153 [DEBUG][test_logging.cc:16:writelog]|helloworld2222

这样就好了 方便根据日志级别grep

关于日志级别

为什么将日志级别按2、4、8..进行赋值,而不是按0、1、2、3..

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.