151: begin
152:
153: -- Do nothing if there is no message waiting
154: If errBuf IS NOT NULL Then
155: DBMS_OUTPUT.new_line;
156: While errBuf is not null Loop
157: DBMS_OUTPUT.put_line( substr( errBuf, 1, 250 ) );
158: errBuf := substr( errBuf, 251 );
159: End Loop;
153: -- Do nothing if there is no message waiting
154: If errBuf IS NOT NULL Then
155: DBMS_OUTPUT.new_line;
156: While errBuf is not null Loop
157: DBMS_OUTPUT.put_line( substr( errBuf, 1, 250 ) );
158: errBuf := substr( errBuf, 251 );
159: End Loop;
160: DBMS_OUTPUT.put_line('.');
161: DBMS_OUTPUT.new_line;
156: While errBuf is not null Loop
157: DBMS_OUTPUT.put_line( substr( errBuf, 1, 250 ) );
158: errBuf := substr( errBuf, 251 );
159: End Loop;
160: DBMS_OUTPUT.put_line('.');
161: DBMS_OUTPUT.new_line;
162: End If;
163:
164: end writeToLog;
157: DBMS_OUTPUT.put_line( substr( errBuf, 1, 250 ) );
158: errBuf := substr( errBuf, 251 );
159: End Loop;
160: DBMS_OUTPUT.put_line('.');
161: DBMS_OUTPUT.new_line;
162: End If;
163:
164: end writeToLog;
165: