Class SinkConfiguration
SinkConfiguration stores all the data needed for Sink to work and what is most important - knows how to create and initialize the sink.
Inherited Members
Namespace: Unity.Logging.Sinks
Assembly: solution.dll
Syntax
public abstract class SinkConfiguration
Constructors
Name | Description |
---|---|
Sink |
Base sink configuration constructor. |
Fields
Name | Description |
---|---|
Capture |
True if this logger needs stack traces. |
Log |
Formatter that controls how to represent the log message: plain text, json, etc.. |
Min |
Minimal level that sink will log. |
Output |
Output template for the message. Ignored in structured logging case. |
Methods
Name | Description |
---|---|
Create |
Standard way of creation and init the sink |
Create |
Function that creates specific SinkSystem using this configuration. |