C# Class NLog.LayoutRenderers.AllEventPropertiesLayoutRenderer

Inheritance: LayoutRenderer
显示文件 Open project: NLog/NLog Class Usage Examples

Private Properties

Property Type Description
GetProperties object>.IDictionary

Public Methods

Method Description
AllEventPropertiesLayoutRenderer ( ) : System.Collections.Generic

Initializes a new instance of the AllEventPropertiesLayoutRenderer class.

Protected Methods

Method Description
Append ( StringBuilder builder, LogEventInfo logEvent ) : void

Renders all log event's properties and appends them to the specified StringBuilder.

Private Methods

Method Description
GetProperties ( LogEventInfo logEvent ) : object>.IDictionary

Also render the call attributes? (CallerMemberNameAttribute, CallerFilePathAttribute, CallerLineNumberAttribute).

Method Details

AllEventPropertiesLayoutRenderer() public method

Initializes a new instance of the AllEventPropertiesLayoutRenderer class.
public AllEventPropertiesLayoutRenderer ( ) : System.Collections.Generic
return System.Collections.Generic

Append() protected method

Renders all log event's properties and appends them to the specified StringBuilder.
protected Append ( StringBuilder builder, LogEventInfo logEvent ) : void
builder StringBuilder The to append the rendered data to.
logEvent LogEventInfo Logging event.
return void