Git Product home page Git Product logo

Comments (6)

pankajagrawal16 avatar pankajagrawal16 commented on September 26, 2024

Hey @dgomesbr It definitely sounds like an interesting idea.

Could you please shed some more inputs on your thoughts here ? Like What and how you think of it behaving on nested payload etc ?

from powertools-lambda-java.

dgomesbr avatar dgomesbr commented on September 26, 2024

@pankajagrawal16 as an user concerned with data being logged, but also conscious about logging, I would like to either pass a Predicate<? super String> predicate where users could pass whatever predicate they want, and maybe apply at PowertoolsLogger.java implementation level.

Does that adds up?

from powertools-lambda-java.

msailes avatar msailes commented on September 26, 2024

I was thinking about this. I think nested payloads makes this harder.

Could the user pass an implementation class name, we'd instantiate it and use it to do the filtering.

from powertools-lambda-java.

pankajagrawal16 avatar pankajagrawal16 commented on September 26, 2024

I have created a PR which will let clients override the default object mapper used for serializing the event. This will also let client decide and how and what they want to log the event. #287

@dgomesbr I believe we can close this issue based on this ability as well. Thoughts?

from powertools-lambda-java.

dgomesbr avatar dgomesbr commented on September 26, 2024

LGTM

from powertools-lambda-java.

pankajagrawal16 avatar pankajagrawal16 commented on September 26, 2024

Available in 1.3.0 now

from powertools-lambda-java.

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.