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