RE: Renderers

2005-09-11 Thread Nicko Cadell
The renderer is used to convert the m_message object into a string only if it is not already a string. We could remove the early test for string, this could then be done by the default renderer allowing it to be customised by the user. However the performance gain of doing the early test benefits

RE: Renderers

2005-09-11 Thread Ron Grabowski
I doubt many users need to customize how string messages are rendered. Regarding this line: else if (m_repository != null) When will a repository be null? The second line in log4net's internal log always seems to be: log4net: DefaultRepositorySelector: defaultRepositoryType

RE: Renderers

2005-09-11 Thread Nicko Cadell
I doubt many users need to customize how string messages are rendered. It is not a feature that is often requested. But it exists and we support it. Adding a custom renderer to the log4net configuration has another disadvantage in that it leads to a tighter coupling between the