Giter VIP home page Giter VIP logo

Comments (4)

whtiehack avatar whtiehack commented on August 24, 2024

建议在你需要打印出详细信息的地方 序列化后传给logger.

from pinus.

zx331789 avatar zx331789 commented on August 24, 2024

有时候并不情楚是对象还是字段,我现在是直接改了logger模块

这里不打印对象是有什么原因吗?

from pinus.

whtiehack avatar whtiehack commented on August 24, 2024

原因不知道.应该是pomelo的代码原样搬过来了. 如果直接打印对象. 可能对性能也会有影响.

不建议在仓库里改的原因是, 比如有人直接用这个打印一个大对象. 本来没问题的. 如果我们改了, 把对象打印出来.那可能会出问题的吧.

from pinus.

zx331789 avatar zx331789 commented on August 24, 2024

嗯,可能有这个原因吧。
不过生产环境一般都会做日志打印级别控制

from pinus.

Related Issues (20)

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.