cityindex/CIAPI.CS — Issue #117: Create Default Logger that works when using NuGet packages
Author: mrdavidlaing
Created: 2012-01-31 12:20:09+00:00
State: open

Following on from https://github.com/cityindex/CIAPI.CS/issues/105

The ReflectiveLogger should ship with a default logger that works in a similar manner to System.Diagnostics.Debug.

The current [default DebugAppender uses System.Diagnostics.Debug](https://github.com/cityindex/CIAPI.CS/blob/master/src/ReflectiveLoggingAdapter/Salient.ReflectiveLoggingAdapter/DebugAppender.cs#L18) which is stripped out of the NuGet packages during compile time since the NuGet packages are compiled in Release mode.

So, when using the NuGet packages, there is effectively no default logger.

If you want to see any log output you must [hook up a logger](https://github.com/cityindex/CIAPI.CS/commit/59e5bc72daf13fcc6514376c920c8ccaca41c8dd).

We need to ship with a default logger that works out the box when using the NuGet packages