Message build configuration
Ejemplo n.º 1
0
 /// <summary>Builds a new instance of the SyslogTarget class</summary>
 public SyslogTarget()
 {
     Enforcement = new EnforcementConfig();
     MessageCreation = new MessageBuilderConfig();
     MessageSend = new MessageTransmitterConfig();
 }
Ejemplo n.º 2
0
 public static MessageBuilder FromConfig(MessageBuilderConfig messageBuilderConfig, EnforcementConfig enforcementConfig)
 {
     return BuilderFactory[messageBuilderConfig.Rfc](messageBuilderConfig, enforcementConfig);
 }