You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-dev@logging.apache.org by "Howe, Peter L" <ph...@paychex.com> on 2013/07/24 22:36:18 UTC

Layout entities

Hi,

I spent quite a while this afternoon on the Log4net web site trying to find a list of the possible objects or entities that can be used in a pattern or layout  such as:

        <param name="ConversionPattern"
               value="%date [%-5thread] %-5level %-35username - %message%newline%exception"/>

Is there a place where I can find a list of the elements available via the "%<object>" notation?

Thanks,
Peter



The information contained in this message may be privileged, confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify your representative immediately and delete this message from your computer. Thank you.

AW: Layout entities

Posted by Dominik Psenner <dp...@gmail.com>.
You don't have to apologize. :) I'm glad you found what you were looking
for.

 

Von: Howe, Peter L [mailto:phowe@paychex.com] 
Gesendet: Donnerstag, 25. Juli 2013 20:46
An: Log4NET Dev
Betreff: RE: Layout entities

 

Thank you, that was just what I was looking for.  Don't know why I couldn't
find it myself, but thanks.

 

Peter

 

 

From: Dominik Psenner [mailto:dpsenner@gmail.com] 
Sent: Thursday, July 25, 2013 2:34 AM
To: 'Log4NET Dev'
Subject: AW: Layout entities

 

I'm not sure if the listing of the API documentation is complete:

 

http://logging.apache.org/log4net/release/sdk/log4net.Layout.PatternLayout.h
tml

 

But you could still read up all patterns in the static PatternLayout
constructor where the HashTable s_globalRulesRegistry is populated.

 

Cheers

 

Von: Howe, Peter L [mailto:phowe@paychex.com] 
Gesendet: Mittwoch, 24. Juli 2013 22:36
An: Log4NET Dev
Betreff: Layout entities

 

Hi,

 

I spent quite a while this afternoon on the Log4net web site trying to find
a list of the possible objects or entities that can be used in a pattern or
layout  such as:

 

        <param name="ConversionPattern" 

               value="%date [%-5thread] %-5level %-35username -
%message%newline%exception"/>

 

Is there a place where I can find a list of the elements available via the
"%<object>" notation?

 

Thanks,

Peter

 

 

The information contained in this message may be privileged, confidential
and protected from disclosure. If the reader of this message is not the
intended recipient, or an employee or agent responsible for delivering this
message to the intended recipient, you are hereby notified that any
dissemination, distribution or copying of this communication is strictly
prohibited. If you have received this communication in error, please notify
your representative immediately and delete this message from your computer.
Thank you.


RE: Layout entities

Posted by "Howe, Peter L" <ph...@paychex.com>.
Thank you, that was just what I was looking for.  Don't know why I couldn't find it myself, but thanks...

Peter


From: Dominik Psenner [mailto:dpsenner@gmail.com]
Sent: Thursday, July 25, 2013 2:34 AM
To: 'Log4NET Dev'
Subject: AW: Layout entities

I'm not sure if the listing of the API documentation is complete:

http://logging.apache.org/log4net/release/sdk/log4net.Layout.PatternLayout.html

But you could still read up all patterns in the static PatternLayout constructor where the HashTable s_globalRulesRegistry is populated.

Cheers

Von: Howe, Peter L [mailto:phowe@paychex.com]
Gesendet: Mittwoch, 24. Juli 2013 22:36
An: Log4NET Dev
Betreff: Layout entities

Hi,

I spent quite a while this afternoon on the Log4net web site trying to find a list of the possible objects or entities that can be used in a pattern or layout  such as:

        <param name="ConversionPattern"
               value="%date [%-5thread] %-5level %-35username - %message%newline%exception"/>

Is there a place where I can find a list of the elements available via the "%<object>" notation?

Thanks,
Peter



The information contained in this message may be privileged, confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify your representative immediately and delete this message from your computer. Thank you.

AW: Layout entities

Posted by Dominik Psenner <dp...@gmail.com>.
I'm not sure if the listing of the API documentation is complete:

 

http://logging.apache.org/log4net/release/sdk/log4net.Layout.PatternLayout.h
tml

 

But you could still read up all patterns in the static PatternLayout
constructor where the HashTable s_globalRulesRegistry is populated.

 

Cheers

 

Von: Howe, Peter L [mailto:phowe@paychex.com] 
Gesendet: Mittwoch, 24. Juli 2013 22:36
An: Log4NET Dev
Betreff: Layout entities

 

Hi,

 

I spent quite a while this afternoon on the Log4net web site trying to find
a list of the possible objects or entities that can be used in a pattern or
layout  such as:

 

        <param name="ConversionPattern" 

               value="%date [%-5thread] %-5level %-35username -
%message%newline%exception"/>

 

Is there a place where I can find a list of the elements available via the
"%<object>" notation?

 

Thanks,

Peter

 

 

The information contained in this message may be privileged, confidential
and protected from disclosure. If the reader of this message is not the
intended recipient, or an employee or agent responsible for delivering this
message to the intended recipient, you are hereby notified that any
dissemination, distribution or copying of this communication is strictly
prohibited. If you have received this communication in error, please notify
your representative immediately and delete this message from your computer.
Thank you.