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.
我有一个特殊的问题。
if (logger.isDebugEnabled()) { logger.debug("Message=\"About to get the application details\" GroupID={}", iGroupID); }
我有这段代码,当检查记录器时。的级别logger = DEBUG,但该方法logger.isDebugEnabled()仅返回 false。
logger = DEBUG
logger.isDebugEnabled()
我正在使用 SLF4J 和 Maven 添加依赖项。