| 51 | |
| 52 | |
| 53 | TCatboostLogEntry::TCatboostLogEntry(TCatboostLog* parent, const TSourceLocation& sourceLocation, TStringBuf customMessage, ELogPriority priority) : Parent(parent) |
| 54 | , SourceLocation(sourceLocation) |
| 55 | , CustomMessage(customMessage) |
| 56 | , Priority(priority) |
| 57 | { |
| 58 | if (parent->NeedExtendedInfo()) { |
| 59 | (*this) << CustomMessage << ": " << NLoggingImpl::GetLocalTimeS() << " " << NMatrixnetLoggingImpl::StripFileName(SourceLocation.File) << ":" << SourceLocation.Line << " "; |
| 60 | RegularMessageStartOffset = this->Filled(); |
| 61 | } |
| 62 | } |
| 63 | |
| 64 | void TCatboostLogEntry::DoFlush() |
| 65 | { |
nothing calls this directly
no test coverage detected