You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It should be useful to switch to a logger implementation entirely.
Describe the solution you'd like
1- Pass a logger inside the options, that defaults to console. (for backwards compatibility),
2- AND/OR allow to pass a custom "handleError" function as an option, so that we can customize the handling of internal errors.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
After #337, some references to console.warn are still in the codebase:
sitemap.js/lib/utils.ts
Line 64 in 965c4a7
sitemap.js/lib/utils.ts
Line 74 in 965c4a7
It should be useful to switch to a logger implementation entirely.
Describe the solution you'd like
1- Pass a logger inside the options, that defaults to console. (for backwards compatibility),
2- AND/OR allow to pass a custom "handleError" function as an option, so that we can customize the handling of internal errors.
The text was updated successfully, but these errors were encountered: