-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Hi,
Troubleshooting file parsing can be rather difficult and sometimes it is reasonable accept errors when parsing with the higher goal of being able to read the file at all. I think as a principle the API should be lenient while reading and strict while writing.
All the same, it would be useful to output errors found while parsing to stderr and the structured way to do this is to use a logging API.
Should we introduce log and start logging parsing errors and other events?
Impact is minimal and the API user can chose how to output messages with a multitude of log implementations. For development of fitsrs we should probably use e.g. test-log to get the relevant output in unit tests.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request