Chris@0: Chris@0: * Chris@0: * For the full copyright and license information, please view the LICENSE Chris@0: * file that was distributed with this source code. Chris@0: */ Chris@0: Chris@0: namespace Symfony\Component\HttpKernel\Log; Chris@0: Chris@0: /** Chris@0: * DebugLoggerInterface. Chris@0: * Chris@0: * @author Fabien Potencier Chris@14: * Chris@14: * @method clear() Removes all log records. Chris@0: */ Chris@0: interface DebugLoggerInterface Chris@0: { Chris@0: /** Chris@0: * Returns an array of logs. Chris@0: * Chris@0: * A log is an array with the following mandatory keys: Chris@0: * timestamp, message, priority, and priorityName. Chris@0: * It can also have an optional context key containing an array. Chris@0: * Chris@0: * @return array An array of logs Chris@0: */ Chris@0: public function getLogs(); Chris@0: Chris@0: /** Chris@0: * Returns the number of errors. Chris@0: * Chris@0: * @return int The number of errors Chris@0: */ Chris@0: public function countErrors(); Chris@0: }