Method | Description | |
---|---|---|
ExceptionMessage ( ) : ExceptionLayoutDefinition |
Renders only the exception message from the logging event.
|
|
Pattern ( Action |
Uses a flexible layout configurable with a fluent API.
|
|
Pattern ( string pattern ) : PatternLayoutDefinition |
Uses a flexible layout configurable with a pattern string.
|
|
SimpleMessage ( ) : SimpleLayoutDefinition |
Renders the level of the log statement, followed by " - " and then the message itself.
|
|
Xml ( Action |
Formats the log events as XML elements.
|
|
XmlInLog4JSchema ( Action |
Formats the log events as XML elements compatible with the log4j schema.
|
public ExceptionMessage ( ) : ExceptionLayoutDefinition | ||
return | ExceptionLayoutDefinition |
public Pattern ( Action |
||
pattern | Action |
A method to configure the pattern layout. |
return | FluentPatternLayoutDefinition |
public Pattern ( string pattern ) : PatternLayoutDefinition | ||
pattern | string | The pattern string to use. |
return | PatternLayoutDefinition |
public SimpleMessage ( ) : SimpleLayoutDefinition | ||
return | SimpleLayoutDefinition |
public Xml ( Action |
||
xml | Action |
A method to configure the xml layout. |
return | XmlLayoutDefinition |
public XmlInLog4JSchema ( Action |
||
xml | Action |
A method to configure the xml layout. |
return | XmlLog4jLayoutDefinition |