public PropertyWriter(LogWriter writer) { if (Script.IsNullOrUndefined(writer)) throw new Exception("[Null] Log writer not supplied."); this.writer = writer; } #endregion