Giter Club home page Giter Club logo

Comments (9)

codedance avatar codedance commented on May 29, 2024

I was thinking this when code was first positioned. One could argue that the "risk" is quite low here as it's "just logging", but I agree the correct solution would be to fix.

Gut feel: I think option 2 would be best. That solution offers the benefit of also provide the option to turn on logging on a single connection.

from gosnmp.

soniah avatar soniah commented on May 29, 2024

Thanks Sam. @codedance I also think option 2 is better. Doing slog as a global var was a braino on my part; LoggingDisabled also shouldn't be global.

I'll focus on the String SET's before working on this, or someone else can work on it in the meantime. It'll be a large (but not complex) change.

from gosnmp.

codedance avatar codedance commented on May 29, 2024

Agree. So how should we dish up the work? @sam3000 , are you keen to have a shot?

from gosnmp.

sam3000 avatar sam3000 commented on May 29, 2024

I'm happy to have a look at what's involved and get back to you both.

from gosnmp.

sam3000 avatar sam3000 commented on May 29, 2024

I'm still planning to look at this at some point but it's been low on the priority list.

from gosnmp.

soniah avatar soniah commented on May 29, 2024

No worries Sam I know the feeling. After a week on the keyboard at work, it's often hard to get out the keyboard on the weekend...

from gosnmp.

rjammala avatar rjammala commented on May 29, 2024

Hi

Any updates on this one? Will this have any real impact on the code (i.e. can cause it to panic/crash?). Please let me know.

from gosnmp.

rjammala avatar rjammala commented on May 29, 2024

I sent this pull request: #59

Can someone please review?

from gosnmp.

soniah avatar soniah commented on May 29, 2024

merged and tidied.

from gosnmp.

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.