Code Coverage by Clover.NET

class.ToString()

View: New views
2 Messages — Rating Filter:   Alert me  

class.ToString()

by Boersnoes :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hi List,

 

Is there a way to obtain the result of the calling class’s ToString() method?

This would enable me to trace the instances instead of the classes of the calling objects.

 

Regards

Boris Callens


No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.19.4/1227 - Release Date: 16/01/2008 1:40


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nlog-list mailing list
Nlog-list@...
https://lists.sourceforge.net/lists/listinfo/nlog-list

Re: class.ToString()

by Boersnoes :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

To answer my own post: a better sollution is to give your logger a fitting name when creating it.

Boersnoes wrote:
Hi List,

 

Is there a way to obtain the result of the calling class’s ToString() method?

This would enable me to trace the instances instead of the classes of the calling objects.

 

Regards

Boris Callens


No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.19.4/1227 - Release Date: 16/01/2008 1:40
 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nlog-list mailing list
Nlog-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nlog-list