void OnNotify(const TNotifyType& Type, const TStr& MsgStr){ TStr LogStr=TNotify::GetTypeStr(Type)+": "+MsgStr; LogSOut->PutStr(LogStr); LogSOut->PutDosLn(); printf("%s\n", LogStr.CStr()); }