-
Notifications
You must be signed in to change notification settings - Fork 374
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error stack: TypeError: this.isLevelEnabled is not a function #110
Comments
没发现有这个方法啊。搜索源码是空的。。 |
/node_modules/log4js/lib/logger.js>addLevelMethods 也就是 logger.js 80行 这里出现的异常 |
没明白。可否描述详细一点。。 |
你调用这些方法应该都会出现异常信息 |
pinus的logger 是封装了一层的。你确定有这些方法? |
我是从pinus的logger点出来的 |
修复了一下。应该没问题了。 |
好的 |
1.4.0马上就发布好了。可以一起测试一下。 |
现在 |
好的 我去试试 |
还有问题吗?没问题关一下issue哈。 |
whtiehack
added a commit
that referenced
this issue
Dec 26, 2019
whtiehack
added a commit
that referenced
this issue
Dec 26, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
import { Logger, getLogger } from 'pinus';
getLogger("game").isDebugEnabled();
isDebugEnabled 抛出异常 error stack: TypeError: this.isLevelEnabled is not a function
The text was updated successfully, but these errors were encountered: