mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 11:46:30 +02:00
* Implement CallTracer * Add CallTracer to various places * Newline * Fix unit tests not compiling for some reason * Add macro remove some trace calls * Add indentation * Add semicolon * Update src/modules/fancyzones/lib/CallTracer.cpp Co-authored-by: Enrico Giordani <enricogior@users.noreply.github.com> * Actually indent/unindent output * Fix initial indent level Co-authored-by: Enrico Giordani <enrico.giordani@gmail.com> Co-authored-by: Enrico Giordani <enricogior@users.noreply.github.com>
14 lines
224 B
C++
14 lines
224 B
C++
#pragma once
|
|
|
|
#include "common/logger/logger.h"
|
|
|
|
#define _TRACER_ CallTracer callTracer(__FUNCTION__)
|
|
|
|
class CallTracer
|
|
{
|
|
std::string functionName;
|
|
public:
|
|
CallTracer(const char* functionName);
|
|
~CallTracer();
|
|
};
|