Log4mql – library MetaTrader 4

Log4mql
Log4mql is an MQL4 (MetaQuotes MetaTrader 4 Language) library for flexible logging to files and the terminal console. It is modeled after the Log4j Java library. Documentation (GitHub):  Usage in your Code: CLog4mql::getInstance().error(__FILE__, __LINE__, “Something unexpected happen”); or (for more frequent usage) CLog4mql* logger = CLog4mql::getInstance(); logger.error(__FILE__, __LINE__, “Something unexpected happen”); logger.info(__FILE__, __LINE__, “Calcumation done”); … Read more

Log4mql (MT4) – library MetaTrader 4

Log4mql (MT4) - library for MetaTrader 4
Log4mql – a logging library similar to Log4j but for MQL. Installation Unzip log4mqllib.zip to your Libraries folder Put log4mqllib.mqh into your Include folder Use one of the samples that shows the usage Inputs Loglevel, supports Trace, Debug, Info, Warn, Error and Fatal Logmode, either Journal only, File only or Journal+File (rewrite or append) Logfile … Read more

Log4mql (MT5) – library MetaTrader 5

Log4mql (MT5) - library for MetaTrader 5
Log4mql – a logging library similar to Log4j but for MQL. Installation Unzip log4mqllib.zip to your Libraries folder Put log4mqllib.mqh into your Include folder Use one of the samples that shows the usage Inputs Loglevel, supports Trace, Debug, Info, Warn, Error and Fatal Logmode, either Journal only, File only or Journal+File (rewrite or append) Logfile … Read more