FileLog – library MetaTrader 4

FileLog - library for MetaTrader 4
FileLog is a simple MQL4 class for flexible logging to files and the terminal console. Github Repository: Log File will be saved in: <Data folder>\MQL4\Files\ <Data folder>\tester\files\ Usage CFileLog* logger = new CFileLog(“example.log”,WARNING,true); logger.Error(StringFormat(“%s %d %s”,__FILE__, __LINE__, “Something unexpected happen”)); logger.Info(StringFormat(“%s %d %s”,__FILE__, __LINE__, “Calculation Done)); logger.debug(StringFormat(“%s %d The result of %s is %d”,__FILE__, __LINE__,string1, … Read more