AOP comes with a downside: If an aspect is not called due to a bug, this bug is not visible, since no code is executed, that could notice the bug and throw an Exception, or print an error message.
As a result, DeepSampler tends to do nothing, if some configuration errors exist. This is quite hard to debug. This could be eased by logging.
Since DeepSampler is an API that must not force the usage of a specific logging API, we must find a possibility to allow a form of logging, that fits into an existing logging environment, and comes without additional dependencies.
AOP comes with a downside: If an aspect is not called due to a bug, this bug is not visible, since no code is executed, that could notice the bug and throw an Exception, or print an error message.
As a result, DeepSampler tends to do nothing, if some configuration errors exist. This is quite hard to debug. This could be eased by logging.
Since DeepSampler is an API that must not force the usage of a specific logging API, we must find a possibility to allow a form of logging, that fits into an existing logging environment, and comes without additional dependencies.