Giter Site home page Giter Site logo

Debug level about wechat-go HOT 4 OPEN

songtianyi avatar songtianyi commented on July 3, 2024
Debug level

from wechat-go.

Comments (4)

songtianyi avatar songtianyi commented on July 3, 2024

If you are not familiar with the wechat working mechanism as i was, it's helpful to print it out to see what's going on.

from wechat-go.

suntong avatar suntong commented on July 3, 2024

Agree, but please also consider for those who are not familiar with the wechat working mechanism, the above logging don't make any sense to them. I.e., even I see webpush.web.wechat.com 0 0, I have no idea what it is trying to tell me...

from wechat-go.

songtianyi avatar songtianyi commented on July 3, 2024

Got it, i will write the demo code for debug level control.

from wechat-go.

suntong avatar suntong commented on July 3, 2024

Thanks @songtianyi,

What I had in mind was at least the following levels:

  • Quite (1). Log bare minimum info, only things the end user absolutely need to know.
  • Brief (2). Log only info that response to the user requests.
  • Debug (3+). Include internal Debug info. The higher the debug level is, the more info it will be.

from wechat-go.

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.