--TEST--
Log: Display Handler
--INI--
date.timezone=UTC
--FILE--
log("Info", PEAR_LOG_INFO);
$logger->log("Error", PEAR_LOG_ERR);
$logger->log("Debug", PEAR_LOG_DEBUG);
$logger->log("Multi\nLine\nEntry", PEAR_LOG_INFO);
echo "\n";
}
test('Default', array());
test('Line Break', array('linebreak' => "\n"));
test('Format', array('lineFormat' => ''));
test('Prepend / Append', array('error_prepend' => '',
'error_append' => ''));
--EXPECT--
Testing Default Configuration
------------------------------------------------------
info: Info
error: Error
debug: Debug
info: Multi
Line
Entry
Testing Line Break Configuration
------------------------------------------------------
info: Info
error: Error
debug: Debug
info: Multi
Line
Entry
Testing Format Configuration
------------------------------------------------------
Testing Prepend / Append Configuration
------------------------------------------------------
info: Info
error: Error
debug: Debug
info: Multi
Line
Entry