DEP0079:通过 .inspect() 对对象进行自定义检查函数
【DEP0079: Custom inspection function on objects via .inspect()】
类型:寿命终止
【Type: End-of-Life】
在对象上使用名为 inspect 的属性来为 util.inspect() 指定自定义检查函数已被弃用。请改用 util.inspect.custom。为了与 6.4.0 版本之前的 Node.js 向后兼容,可以同时指定两者。
【Using a property named inspect on an object to specify a custom inspection
function for util.inspect() is deprecated. Use util.inspect.custom
instead. For backward compatibility with Node.js prior to version 6.4.0, both
can be specified.】