Added new StringBuilderLog for capturing logs in a shared StringBuilder