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

Function CreateLogBackend

library/cpp/logger/log.cpp:12–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10#include <util/generic/scope.h>
11
12THolder<TLogBackend> CreateLogBackend(const TString& fname, ELogPriority priority, bool threaded) {
13 TLogBackendCreatorUninitialized creator;
14 creator.InitCustom(fname, priority, threaded);
15 return creator.CreateLogBackend();
16}
17
18THolder<TLogBackend> CreateFilteredOwningThreadedLogBackend(const TString& fname, ELogPriority priority, size_t queueLen) {
19 return MakeHolder<TFilteredLogBackend>(CreateOwningThreadedLogBackend(fname, queueLen), priority);

Callers 10

TLogMethod · 0.85
OpenLogMethod · 0.85
DoInitGlobalLogFunction · 0.85
RestoreOriginalLoggerFunction · 0.85
THnswLogMethod · 0.85
BindOutputParamsFunction · 0.85
TCatboostLogMethod · 0.85
RestoreDefaultBackendMethod · 0.85
ResetTraceBackendFunction · 0.85

Calls 2

InitCustomMethod · 0.80
CreateLogBackendMethod · 0.80

Tested by

no test coverage detected