Skip to content

Commit

Permalink
log_cout.h: added include guards
Browse files Browse the repository at this point in the history
Signed-off-by: Timotei Molcut <[email protected]>
  • Loading branch information
tmanalog committed Mar 22, 2022
1 parent 8eca33a commit f0e06b1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sdk/include/aditof/log_cout.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,16 @@
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

#ifndef LOG_COUT_H
#define LOG_COUT_H

#include <iostream>

#define INFO "INFO "
#define ERROR "ERROR "
#define WARNING "WARNING "
#define LOG(x) std::cout << x
#define DLOG(x) std::cout << x

#endif // LOG_COUT_H

0 comments on commit f0e06b1

Please sign in to comment.