Log4MQL logger
For full product description go to Comments tab.
metaTrader and its MQL4/5 language is great for developing of automated trading systems. But I was missing some support for logging of custom messages and information during run of some trading system, custom scripts or indicators. One of the possibilities is to use Print function and then read messages in Journal window. Disadvantages of this Journal window are:
- it is slowly refreshed when you print out many messages
- it cannot be searched
- it is deleted after exit of metaTrader
- you can not add priorities to you messages and use some highlighting features
- message logging to custom external file that can be archived, sent by email, read by some scripts etc.
- four message levels DEBUG, INFO, WARN, ERROR
- log files can be displayed by some third party log parsers and use its highlighting features
- fast writing to output log files, log messages are immediately written to log files (no useless lags)
- simple API, simple include to your code and of course simple use
How to use it?
1) Download and install Log4mql
Download and install Log4mql from the Market.
2) Include / import Log4mql to your MQL code
The Log4mql.mqh file contains specification of logger public interface, its methods, class constructor and destructor. Logger itself is implemented in the file Log4mqlImpl.ex4
File Log4mql.mqh needs to be downloaded or manually created (check comments tab for more details)
Code snippet below shows how to include logger to your code本店最新上架
-
- MT4 MT5跟单EA 本地跟单远程跟单 绝不
- ¥1100.00
-
- 在MetaTrader市场购买MetaTrader 5的
- ¥3988.00
-
- 在MetaTrader市场购买MetaTrader 5的
- ¥3988.00
-
- 在MetaTrader市场购买MetaTrader 5的
- ¥3988.00
-
- 在MetaTrader市场购买MetaTrader 5的
- ¥3988.00
全网为您推荐
-
- AlgoTradeSoft
- ¥3988.00
-
- 国际期货套利软件
- ¥3988.00
-
- MT4 MT5跟单EA 本地跟单远程跟单 绝不
- ¥1100.00
-
- 在MetaTrader市场购买MetaTrader 5的
- ¥3988.00
-
- 在MetaTrader市场购买MetaTrader 5的
- ¥3988.00