/// <summary> /// Create a new instance of LogReceiverLoggerFactory. /// </summary> /// <param name="aLoggerType">The Type of Logger this instance should eventually create.</param> /// <param name="portNumber">The port number on which to listen for new connections.</param> /// <param name="aTagInfo">Any information newly created Loggers should be passed.</param> public LogReceiverLoggerFactory(Type aLoggerType, int portNumber, Object aTagInfo) { CheckLoggerType(aLoggerType); loggerType = aLoggerType; tagInfo = aTagInfo; listener = LogSocketReader.StartListening(portNumber, this); }
/// <summary> /// Create a new instance of LogReceiverLoggerFactory. /// </summary> /// <param name="aLoggerType">The Type of Logger this instance should eventually create.</param> /// <param name="portNumber">The port number on which to listen for new connections.</param> /// <param name="aTagInfo">Any information newly created Loggers should be passed.</param> public LogReceiverLoggerFactory(Type aLoggerType, int portNumber, Object aTagInfo) { CheckLoggerType(aLoggerType); loggerType = aLoggerType; tagInfo = aTagInfo; listener = LogSocketReader.StartListening(portNumber, this); }