We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
function consoleTransportFactory(logger) { return Object.assign(transport, { format: DEFAULT_FORMAT, level: 'silly', transforms: [ addTemplateColors, format, formatStyles, concatFirstStringElements, maxDepth, toJSON, ], useStyles: process.env.FORCE_STYLES,
writeFn({ message }) { const consoleLogFn = consoleMethods[message.level] || consoleMethods.info; consoleLogFn(...message.data); },
});其中的[message.level]报错TypeError; Cannot read properties of undefined (reading 'level'” at Function.writeFn (D:\内网通缓存\陈大荣\国周率软件-保密检查工具(3.0.0) (2024.11.15.10)-绿色版\保密检查客户端 resources\app,asar\node modules\electron-log\src\main\transportsiconsole.j...51) at defaultlogger,processinternalErrorFn(D:\内网通缓存\陈大荣\圆周率软件-保密检育 I具(3.0.0)-(2024.11.15.10)-绿色版\保密检查客户端
The text was updated successfully, but these errors were encountered:
I need a code sample that reproduces the issue.
Sorry, something went wrong.
No branches or pull requests
function consoleTransportFactory(logger) {
return Object.assign(transport, {
format: DEFAULT_FORMAT,
level: 'silly',
transforms: [
addTemplateColors,
format,
formatStyles,
concatFirstStringElements,
maxDepth,
toJSON,
],
useStyles: process.env.FORCE_STYLES,
});其中的[message.level]报错TypeError; Cannot read properties of undefined (reading 'level'”
at Function.writeFn (D:\内网通缓存\陈大荣\国周率软件-保密检查工具(3.0.0)
(2024.11.15.10)-绿色版\保密检查客户端
resources\app,asar\node modules\electron-log\src\main\transportsiconsole.j...51)
at defaultlogger,processinternalErrorFn(D:\内网通缓存\陈大荣\圆周率软件-保密检育
I具(3.0.0)-(2024.11.15.10)-绿色版\保密检查客户端
The text was updated successfully, but these errors were encountered: