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
When specifying loghandler AND forcing errors such as invalid requests to contentful, then errors should be logged.
logHandler: (level: string, data) => { console.log('CONTENTFUL LOG', { level, data }); },
when configuring with our winston logger, no logs seen:
this.client = createClient({ environment: 'abc', space: 'abc', accessToken: 'abc', logHandler: (level: string, data) => { Logger.log(level, 'Contentful log', { type: 'contentful', properties: { space: 'PIM', data, }, }); }, });
when using console.log, no logs seen:
this.client = createClient({ environment: 'abc', space: 'abc', accessToken: 'abc', logHandler: (level: string, data) => { console.log('CONTENTFUL LOG', { level, data }); }, });
fields.slug[match]
fields.slugskjhgjkdshgj[match]
If contentful is logging useful debug info, I want that in my logs too
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Expected Behavior
When specifying loghandler AND forcing errors such as invalid requests to contentful, then errors should be logged.
Actual Behavior
when configuring with our winston logger, no logs seen:
when using console.log, no logs seen:
Possible Solution
Steps to Reproduce
fields.slug[match]
=>fields.slugskjhgjkdshgj[match]
Context
If contentful is logging useful debug info, I want that in my logs too
Environment
The text was updated successfully, but these errors were encountered: