Changeset 9f1ad33 in tol
- Timestamp:
- Mar 25, 2011, 2:15:12 PM (16 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- eb5dfc6
- Parents:
- b0b8f73
- File:
-
- 1 edited
-
tol/bbasic/out.cpp (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tol/bbasic/out.cpp
rb0b8f73 r9f1ad33 386 386 //-------------------------------------------------------------------- 387 387 { 388 if(!BOut::IsEnabled() || (!BOut::errorHci_ && !BOut::errorTerm_)) { return; } 388 389 if(!BOut::IsEnabled()) { return; } 389 390 /*BText info = "\nERROR: "; … … 406 407 //-------------------------------------------------------------------- 407 408 { 408 if(!BOut::IsEnabled() ) { return; }409 if(!BOut::IsEnabled() || (!BOut::warningHci_ && !BOut::warningTerm_)) { return; } 409 410 /*BText info = "\nWARNING: "; 410 411 info += txt + "\n";*/ … … 424 425 //-------------------------------------------------------------------- 425 426 { 426 if(!BOut::IsEnabled() ) { return; }427 if(!BOut::IsEnabled() || (!BOut::warningHci_ && !BOut::warningTerm_)) { return; } 427 428 BText info = I2("\nDeprecated: ","\nDesaprobado: "); 428 429 info += txt + "\n"; … … 438 439 //-------------------------------------------------------------------- 439 440 { 440 if(!BOut::IsEnabled() ) { return; }441 if(!BOut::IsEnabled() || (!BOut::stdHci_ && !BOut::stdTerm_)) { return; } 441 442 BOut::Write(txt, BOut::stdHci_, BOut::stdTerm_); 442 443 } … … 447 448 void Info(const BText& txt) 448 449 { 449 if(!BOut::IsEnabled() ) { return; }450 if(!BOut::IsEnabled() || (!BOut::infoHci_ && !BOut::infoTerm_)) { return; } 450 451 BOut::Write(txt, BOut::infoHci_, BOut::infoTerm_); 451 452 } … … 471 472 //-------------------------------------------------------------------- 472 473 { 473 if(!BOut::IsEnabled() ) { return; }474 if(!BOut::IsEnabled() || (!BOut::traceHci_ && !BOut::traceTerm_)) { return; } 474 475 BText info = BText("\nTRACE ") +SystemInfo() + "\n" + txt + "\n"; 475 476 BOut::Write(info, BOut::traceHci_, BOut::traceTerm_); … … 500 501 //-------------------------------------------------------------------- 501 502 { 502 if(!BOut::IsEnabled() ) { return; }503 if(!BOut::IsEnabled() || (!hci && !term)) { return; } 503 504 if(hci) 504 505 { … … 515 516 } 516 517 } 517 if(BOut::HasDumpFile() &&file_)518 if(BOut::HasDumpFile() && file_) 518 519 { 519 520 fprintf(file_,"%s",txt.String()); … … 521 522 } 522 523 } 523 524 524 525 525 //--------------------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.
