Files
Bell-PriceActionWithEma-EA/Experts/EA_ICT_CL/Logging.mqh
T
2026-03-10 13:47:42 +07:00

20 lines
414 B
Plaintext

#ifndef EA_ICT_CL__LOGGING_MQH
#define EA_ICT_CL__LOGGING_MQH
// Module: Logging
inline void LogPrint(const bool enabled, const string msg)
{
if (!enabled) return;
Print(msg);
}
inline void LogPrintF(const bool enabled, const string fmt, const string a0 = "", const string a1 = "", const string a2 = "")
{
if (!enabled) return;
Print(StringFormat(fmt, a0, a1, a2));
}
#endif // EA_ICT_CL__LOGGING_MQH