The standard way to handle this problem is to check first to see if logging is enabled before constructing expensive logging messages.

  • 解决这个问题的标准方式是在构造昂贵的日志消息之前,首先检查是否启用了日志。
目录 查词历史