Why the type declaration is not using .NET convention?

Now the app.config is like <add name="rollingfile" type="Essential.Diagnostics.RollingFileTraceListener, Essential.Diagnostics.RollingFileTraceListener" ... /> rather than <add name="rollingfil...

Id #50 | Release: None | Updated: Feb 14 at 9:42 AM by zijianhuang | Created: Feb 14 at 9:42 AM by zijianhuang

RollingFileTraceListener fails in .NET Framework 4.6.2

In console app, it crashes when trying to locate directory. In Web app, it crashes on Windows 7 failing respective Web functions; and in Windows Server 2016, respective Web functions still work, ...

Id #49 | Release: None | Updated: Feb 14 at 9:28 AM by zijianhuang | Created: Feb 14 at 1:46 AM by zijianhuang

Add Serilog to framework comparison

Compare features and performance of Serilog. Also add .Net Framework variant using the fluent interface, to see what effect it has on performance. Also update other frameworks to latest version.

Id #48 | Release: None | Updated: Mar 14, 2016 at 12:05 AM by sgryphon | Created: Mar 14, 2016 at 12:05 AM by sgryphon

Add example using fluent interface for trace source

Fluent interfaces are popular, although personally I don't think there is such a huge difference between _source.TraceEvent(TraceEventType.Verbose, 0, "message") and _log.Verbose("message"), but I ...

Id #47 | Release: None | Updated: Mar 14, 2016 at 12:03 AM by sgryphon | Created: Mar 14, 2016 at 12:03 AM by sgryphon

increase or allow configuration of _maxStreamRetries in RollingTextWriter

Currently, the number of concurrent instances of a program that's trying to use a rolling log at a given path is 5, since the running instances will lock the files log.txt, log-1.txt, log-2.txt, th...

Id #43 | Release: None | Updated: Dec 7, 2015 at 3:54 PM by jmanning | Created: Dec 7, 2015 at 3:54 PM by jmanning

"Cannot write to a closed TextWriter" error when used in ASP.Net app (ObjectDisposedException)

"Cannot write to a closed TextWriter" error when used in ASP.Net app (ObjectDisposedException) This issue does not manifest itself immediately but after some time. M.b. related to muddleheaded wri...

Id #40 | Release: None | Updated: Mar 13, 2016 at 11:58 AM by sgryphon | Created: Aug 21, 2014 at 4:59 PM by stasberkov

Email Listener is Asych which fails in ASP.NET

Symptom: Intermittent failure of email listener to send email, even when flooding control is turned off. Cause: The email listener is asynch, which just dies when invoked from the context of an A...

Id #39 | Release: None | Updated: May 8, 2015 at 7:31 AM by zijianhuang | Created: Aug 8, 2014 at 3:32 PM by matthewdeanmartin

refine documentation root

For trace listeners in System.Diagnostics listed here, create links to MSDN. This will be more friendly to system administrators who may not have VS F1.

Id #38 | Release: None | Updated: Mar 13, 2016 at 11:55 PM by sgryphon | Created: Jun 2, 2014 at 12:54 AM by zijianhuang

other console color is not regognized

In https://essentialdiagnostics.codeplex.com/wikipage?title=ColoredConsoleTraceListener&referringTitle=Documentation The config template has items like the following errorColor="DarkRed|other co...

Id #37 | Release: None | Updated: Jun 1, 2014 at 1:02 AM by sgryphon | Created: May 30, 2014 at 5:35 AM by zijianhuang

case insensitive for custom color of event types.

public ConsoleColor GetConsoleColor(TraceEventType eventType) { var key = eventType.ToString() + "Color"; if (Attributes.ContainsKey(key)) { var setting = Attributes[key]; ...

Id #36 | Release: None | Updated: Mar 13, 2016 at 11:49 PM by sgryphon | Created: May 30, 2014 at 3:38 AM by zijianhuang