class.ToString()

2 messages Options
Embed this post
Permalink
Boersnoes

class.ToString()

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)

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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/nlog-list
Boersnoes

Re: class.ToString()

Reply Threaded More More options
Print post
Permalink
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