I am trying to write one generic class for the purpose of any types of method logging.
I am able to track the parameter name and their data types in my class but unable to track the parameter value which is passed at the time of function call.
I need some support in this regards.

Recommended Answers

All 3 Replies

Manoj,
I am trying to implement this concept in java

can u just show us till where you have done your code so that we can help you..

how are you tracking the parameter names?
my guess would be by using get-methods
if you know how to use get-methods, you know how to use the set-methods, and that's what you need.
you get your parameters, and in your constructor you call the necessary set-methods with the parameters as parameter for this method, and you should be fine

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.