Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在开发模式下使用 RAD 服务器时,有一个控制台会写入每个请求每个功能等等。是否可以将此控制台用作调试控制台。我想在编码时将一些 Exeptionmessages 扔到 taht 控制台中,但我找不到关于该主题的任何内容。
将单元EMS.ResourceAPI导入您的用途
EMS.ResourceAPI
而不是使用以下代码编写调试行
TEMSEndPointEnvironment.Instance.LogMessage('Your Debugmessage');
它也适用于生产模式。要使用它,请在 EmsServer.ini 中激活调试文件