Lam Wei Li

Results 136 comments of Lam Wei Li

Wait a second. This is a warning, not an error. A bundle should still be produced, right?

See https://github.com/log4js-node/log4js-node/issues/1069#issuecomment-1030761383 and https://github.com/log4js-node/log4js-node/issues/1265#issuecomment-1141379770

In any case, you should be using `log`. Would using `log` suffice? It does additional checks for `isLevelEnabled` before proceeding further to `_log` (non-public). https://github.com/log4js-node/log4js-node/blob/2d52eb484bb548d5a10ca55280c7606d02bcbaf9/types/log4js.d.ts#L346 https://github.com/log4js-node/log4js-node/blob/2d52eb484bb548d5a10ca55280c7606d02bcbaf9/lib/logger.js#L71-L80

The `Logger` class has both `log()` - public and `_log()` - internal. You probably have to refactor your logger to use `.log()` instead of `._log()`. I'll leave this issue open...

`._log()` is an internal API. Please migrate over to `.log()`. There are differences between `.log()` and `._log()` as shown in the example below that might help you. ```javascript const log4js...

@simhnna, did you managed to refactor?

> yeah. I refactored this. But then again [126e286](https://github.com/log4js-node/log4js-node/commit/126e286c1a56892f3962a5621e46c8ddf4b41510) was also a change that removed an exported type. > > I'm currently pinning log4js due to such changes @simhnna, which...

@simhnna, I see. Perhaps you should also rename `BaseLayout` to `BasicLayout` as part of the refactoring so that you can update to have bug fixes. Of course, you can also...

@quocvu I have replied to your user-agent filtering in #1214.

Try adding `"cluster": false` and see if it helps? webpack.config.js --- ```js resolve: { extensions: ['.tsx', '.ts', '.js'], fallback: { "fs": false, "cluster": false } } ```