Details
-
Task
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
1.2.11
Description
If I log an object using ILog.Info(myObject), myObjectRenderer is used. If I use ILog.InfoFormat("my object is:
{0}", myObject) then the default renderer is used.
I spent hours trying to figure out why the default renderer was being used and then on a whim I used the non-formatted log method and everything worked correctly. At the very least I would like the documentation for this feature to specify that only the non-formatted logging methods make use of custom renderers.