Desafio Labsec (SGC)
trace.h
Go to the documentation of this file.
1 #ifndef TRACE_H
2 #define TRACE_H
3 
4 #include <iostream>
5 
15 #define TRACE(x) do \
16 { std::cerr <<"\e[33m"<<"[TRACE] "<<__FILE__<<"::" \
17  <<__func__<<"("<<__LINE__<<") - (" \
18  << x <<")\e[0m"<<std::endl; } \
19  while (0)
20 
21 #endif /*TRACE_H*/