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
if I set logstream: null, then I have an error:
logstream: null
[Cannot read property 'write' of null]
How can I disable debug logs?
my config:
cres.run({ platforms: { android: {icon: {sources: [iconPath]}, splash: {sources: [splashScreenPath]}}, ios: {icon: {sources: [iconPath]}, splash: {sources: [splashScreenPath]}}, }, logstream: null, // Any WritableStream errstream: process.stderr, // Any WritableStream resourcesDirectory: outputDir, directory: outputDir }) .then((response) => { spinner.stop(); console.log(' ' + '✓'.green + ' Done!'); }) .catch((error) => { spinner.stop(); console.error(`[${error.message}] error:`, error); process.exit(1); });
The text was updated successfully, but these errors were encountered:
Yeah--we should handle this use case.
As a workaround, you could use a null stream (https://www.npmjs.com/package/dev-null)
Sorry, something went wrong.
bc0b9b3
feat(log): allow null, which silences output
02dd99c
resolves #86
No branches or pull requests
if I set
logstream: null
, then I have an error:How can I disable debug logs?
my config:
The text was updated successfully, but these errors were encountered: