| 469 | namespace { |
| 470 | struct TDbgSelector { |
| 471 | inline TDbgSelector() { |
| 472 | char* dbg = getenv("DBGOUT"); |
| 473 | if (dbg) { |
| 474 | Out = &Cerr; |
| 475 | try { |
| 476 | Level = FromString(dbg); |
| 477 | } catch (const yexception&) { |
| 478 | Level = 0; |
| 479 | } |
| 480 | } else { |
| 481 | Out = &Cnull; |
| 482 | Level = 0; |
| 483 | } |
| 484 | } |
| 485 | |
| 486 | IOutputStream* Out; |
| 487 | int Level; |
nothing calls this directly
no test coverage detected