--TEST-- Log: Composite Handler --FILE-- '%2$s [%3$s] %4$s'); $console1 = &Log::singleton('console', '', 'CONSOLE1', $conf); $console2 = &Log::singleton('console', '', 'CONSOLE2', $conf); $composite = &Log::singleton('composite'); $composite->addChild($console1); $composite->addChild($console2); $composite->log('This event will be logged to both handlers.'); --EXPECT-- CONSOLE1 [info] This event will be logged to both handlers. CONSOLE2 [info] This event will be logged to both handlers.