Click here to Skip to main content
15,886,137 members
Articles / Programming Languages / C#

C#: Log All Parameters that Were Passed to a Method

Rate me:
Please Sign up or sign in to vote.
4.83/5 (11 votes)
13 Jul 2014CPOL1 min read 57.9K   465   16  
Log all the parameters passed to some method in C#
In this article, you will see the Parameter Log utility class, which we can use to trace parameter values during an exception. We will see how to use the log utility, a Log string sample followed by a list of limitations that the logger has.

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Bangladesh Bangladesh
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions