log4net and Escape Sequences (tab)

  • Thread starter Thread starter ewolfman
  • Start date Start date
E

ewolfman

Hi,

Is there any (trivial) option to provide a log4net ConversionPattern
which contains escape sequences, such as tab?

For example (see '\t' within):

<layout type="log4net.Layout.PatternLayout">
<param name="ConversionPattern" value="%d \t [%t] %-5p %c [%x] -
%m%n" />
</layout>

This actually prints '\t' instead of the tab escape sequence.

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top