Lines Matching defs:DebugLogger

30 DebugLogger::DebugLogger() : timeStamp_(steady_clock::now()), logPath_(DEFAULT_LOG_PATH)
37 savedDebugLevel_ = DebugLogger::GetInstance()->SetLogLevel(level);
38 savedMixOutput_ = DebugLogger::GetInstance()->SetMixLogOutput(mix);
43 DebugLogger::GetInstance()->SetLogLevel(savedDebugLevel_);
44 DebugLogger::GetInstance()->SetMixLogOutput(savedMixOutput_);
47 DebugLogger::~DebugLogger()
56 void DebugLogger::Disable(bool disable)
69 int DebugLogger::HiLog(std::string &buffer) const
81 int DebugLogger::Log(DebugLevel level, const std::string &logTag, const char *fmt, ...) const
137 bool DebugLogger::EnableHiLog(bool enable)
148 bool DebugLogger::ShouldLog(DebugLevel level, const std::string &logtag) const
153 DebugLevel DebugLogger::SetLogLevel(DebugLevel debugLevel)
155 DebugLevel lastLevel = DebugLogger::GetInstance()->debugLevel_;
162 bool DebugLogger::SetMixLogOutput(bool enable)
169 bool DebugLogger::SetLogPath(const std::string &newLogPath)
189 void DebugLogger::SetLogTags(const std::string &tags)
207 DebugLevel DebugLogger::GetLogLevelByTag(const std::string &tag) const
216 const std::string DebugLogger::GetLogLevelName(DebugLevel level) const
221 DebugLevel DebugLogger::GetLogLevelByName(const std::string &name) const
233 void DebugLogger::Reset()
242 bool DebugLogger::RestoreLog()
248 bool DebugLogger::OpenLog(const std::string &tempLogPath, const std::string &flags)
281 __attribute__((weak)) DebugLevel DebugLogger::debugLevel_ = LEVEL_DEBUG;
282 __attribute__((weak)) bool DebugLogger::logDisabled_ = true;
283 std::unique_ptr<DebugLogger> DebugLogger::logInstance_;
285 DebugLogger *DebugLogger::GetInstance()
288 logInstance_ = std::make_unique<DebugLogger>();