Overrides the global console methods to capture log messages and forward them to the provided logger. Also captures window errors and unhandled rejections and logs them using the provided logger.
The logger to which the captured log messages will be forwarded.
Overrides the global console methods to capture log messages and forward them to the provided logger. Also captures window errors and unhandled rejections and logs them using the provided logger.