This allows root.log implementations to capture log messages, process them, and forward them to the default implementation if desired.