markrendle / Simple.Data

A light-weight, dynamic data access component for C# 4.0
MIT License
1.33k stars 303 forks source link

Change Trace to TraceSource #273

Closed Athari closed 11 years ago

Athari commented 11 years ago

Trace is long obsolete, new applications should use TraceSource. Any library can spam global Trace with any messages it wants, so using it to receive SQL code is very unreliable. Library should instead declare it's own TraceSource (this singleton should be public) which will automatically read configuration, apply listeners etc.