MCPcopy Create free account
hub / github.com/catboost/catboost / TDbgSelector

Method TDbgSelector

util/stream/output.cpp:471–484  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

469namespace {
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;

Callers

nothing calls this directly

Calls 1

FromStringFunction · 0.50

Tested by

no test coverage detected