Method | Description | |
---|---|---|
Enrich ( |
Enrich the log event.
|
|
PropertyEnricher ( string name, object value, bool destructureObjects = false ) : System |
Create a new property enricher.
|
public Enrich ( |
||
logEvent | The log event to enrich. | |
propertyFactory | ILogEventPropertyFactory | Factory for creating new properties to add to the event. |
return | void |
public PropertyEnricher ( string name, object value, bool destructureObjects = false ) : System | ||
name | string | The name of the property. |
value | object | The value of the property. |
destructureObjects | bool | If true, and the value is a non-primitive, non-array type, /// then the value will be converted to a structure; otherwise, unknown types will /// be converted to scalars, which are generally stored as strings. |
return | System |