MEASUR-Tools-Suite v1.0.11
The MEASUR Tools Suite is a collection of industrial efficiency calculations written in C++ and with bindings for compilation to WebAssembly.
Loading...
Searching...
No Matches
SteamModelerLogger.h
1#pragma once
2
14#ifndef STEAM_MODELER_LOGGING
15#define STEAM_MODELER_LOGGING 0
16#endif
17
18#if STEAM_MODELER_LOGGING
19#include <iostream>
20// NOLINTNEXTLINE(cppcoreguidelines-macro-usage)
21#define SM_LOG(x) (std::cout << x << std::endl)
22#else
23// NOLINTNEXTLINE(cppcoreguidelines-macro-usage)
24#define SM_LOG(x) do {} while (0)
25#endif