This project is read-only.

Tokens ClassName, MemberName, LineNo?

Aug 23, 2009 at 5:47 PM

Support for the tokens ClassName, MemberName, LineNo would be nice.
Without line breaks!

This would allow trace files like this (created with log4net):

25.05.2008 13:02:14,284| Module1.Work@29 | -> App starting
25.05.2008 13:02:14,362| Worker..ctor@79 | **
25.05.2008 13:02:14,362| Worker..ctor@79 | **
25.05.2008 13:02:14,362| Worker.DoSomething@83 | ->
25.05.2008 13:02:14,362| Worker.DoSomething@85 | Working at: 25.05.2008 13:02:14
25.05.2008 13:02:14,362| Worker.DoSomething@88 | <-

BTW:
There are two new standard Listeners that could be useful:

  • System.Diagnostics.EventSchemaTraceListener
    SvcTraceView does not support it (yet?)
  • Microsoft.VisualBasic.Logging.FileLogTraceListener