db.getProfilingLevel()

  • db. getProfilingLevel ( )
    • 此方法提供了围绕数据库命令“ profile”的包装,并返回当前配置文件级别。

从 1.8.4 版开始不推荐使用:db.getProfilingStatus()用于相关功能。