라이브러리: Logging Class for both MQL4 and MQL5 - 페이지 2

 
Alain Verleyen #:
간단하고 쉽습니다.

지속적인 로그 스팸을 방지하기 위해 디바운싱 메커니즘을 사용하여 코드를 V2로 업데이트했습니다.

https://www.mql5.com/ko/code/52298

Logging V2 for both MQL4 and MQL5
Logging V2 for both MQL4 and MQL5
  • www.mql5.com
The CDebugLogger class is a flexible and comprehensive logging utility designed for use in MQL4/5 environments. It allows developers to log messages at various levels of importance (INFO, WARNING, ERROR, DEBUG) with options to include timestamps, function signatures, file names, and line numbers in the log entries. The class supports logging to both the console and files, with the ability to save logs in a common folder and in CSV format. Additionally, it offers functionality to silence logs based on specific keywords, ensuring that sensitive information is not logged. This class is ideal for developers looking to implement robust logging mechanisms in their MQL4/5 applications, with customizable features that cater to a wide range of debugging and monitoring needs.