system.diagnostics
Automatically starting a java-web-start application from C# and .NET, .WaitForExit(); doesn't work as desired
I\'m using a C# application to launch a java web application. I\'d like my C# application to know when the user closes out of the java app. I\'m using this code:[详细]
2023-02-08 22:51 分类:问答How to configure message filtering through switches
Here is my code public static TraceSource TS = new TraceSource(\"myTraceSrc\", SourceLevels.All); static void Main(string[] args)[详细]
2023-02-08 17:08 分类:问答When should I use Tracing vs Logger.NET, Enterprise Library, log4net or Ukadc.Diagnostics?
How do I choose between standard tracing, Logger.NET, Enterprise Library, log4net or Ukadc.Diagnostics?[详细]
2023-02-06 01:40 分类:问答can't understand .net 2010 tracing and app.config
In my app.config I want to set 3 tracing levels (switches?): verbose, warning and none. In the debug version of the code, I want the verbose switch to be active, in the release I want warning. In spec[详细]
2023-02-04 20:29 分类:问答How to differentiate between Trace and Debug calls in a custom trace listener?
Trace.Listeners and Debug.Listeners are sharing the same internal collection thus I cannot add a trace listener to Trace.Listeners and a debug listener to Debug.Listeners to differentiate between them[详细]
2023-02-04 01:22 分类:问答how to get .Net method info PerformanceCounterCategory CategoryHelp in another language instead of English
I am not native English Speaker . I hope you understand what i mean. A bit Powershell code that i wrote[详细]
2023-02-02 11:37 分类:问答How to create predictable output with a Lazy<StackFrame>
I\'m working on some internal logging framework and for the sake of performance it seems a good idea to lazily get a StackFrame. I want to use this StackFrame to get the first method outside m开发者_运[详细]
2023-01-31 14:46 分类:问答System.Debug and System.Threading Reference Error
Error Message \'ThreadState\' is an ambiguous reference between \'System.Threading.ThreadState\' and \'System.Diagnostics.ThreadState\'[详细]
2023-01-31 13:11 分类:问答TextWriterTraceListener does not work
Config file: <system.diagnostics> <trace> <listeners> <add name=\"Console\" type=\"System.Diagnostics.ConsoleTraceListener\" initializeData=\"false\"></add>[详细]
2023-01-29 04:38 分类:问答TextWriterTraceListener on background thread
I\'ve got a 3rd party component which uses the TraceSwitch functionality to allow me to output some traces of what\'s going on inside. Unfortunately, running the switches in verbose mode, with a TextW[详细]
2023-01-25 04:14 分类:问答