로딩중...
검색중...
일치하는것 없음
scopeLog.hpp
이 파일의 문서화 페이지로 가기
1
2#pragma once
3
4#include "clog/common.hpp"
5
6namespace by {
13 class _nout scopeLog: public end {
14 BY(ME(scopeLog, end))
15
16 public:
17 scopeLog(const std::function<void(nllong)>& l);
18
19 private:
20 static nllong _measureNow();
21
22 private:
23 nllong _prev;
24 };
25} // namespace by
Deferred execution utility similar to defer keyword in other languages
Definition end.hpp:35
Helper class to finalize scope logging with elapsed time.
Definition scopeLog.hpp:13
Rich logging support with polymorphic type conversion
Definition richLog.hpp:34