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.
我是一名PEGA开发人员,我们object oLog创建了一个用于将消息记录到我们的日志文件中。我们试图弄清楚这个对象是从哪个类创建的?所有这些类都属于Apache4JLogger。
PEGA
object oLog
Apache4J
您可以通过执行找出
oLog.debug(oLog.getClass().getName());
并从日志文件中读取信息(假设它的日志级别设置为调试)。