PageRenderTime 54ms CodeModel.GetById 30ms RepoModel.GetById 1ms app.codeStats 0ms

/Log/Formatter/Interface.php

https://bitbucket.org/bigstylee/zend-framework
PHP | 41 lines | 5 code | 2 blank | 34 comment | 0 complexity | 4e0fa45e6bfc76c36bb17cc65ce5218c MD5 | raw file
  1. <?php
  2. /**
  3. * Zend Framework
  4. *
  5. * LICENSE
  6. *
  7. * This source file is subject to the new BSD license that is bundled
  8. * with this package in the file LICENSE.txt.
  9. * It is also available through the world-wide-web at this URL:
  10. * http://framework.zend.com/license/new-bsd
  11. * If you did not receive a copy of the license and are unable to
  12. * obtain it through the world-wide-web, please send an email
  13. * to license@zend.com so we can send you a copy immediately.
  14. *
  15. * @category Zend
  16. * @package Zend_Log
  17. * @subpackage Formatter
  18. * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
  19. * @license http://framework.zend.com/license/new-bsd New BSD License
  20. * @version $Id: Interface.php 24593 2012-01-05 20:35:02Z matthew $
  21. */
  22. /**
  23. * @category Zend
  24. * @package Zend_Log
  25. * @subpackage Formatter
  26. * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
  27. * @license http://framework.zend.com/license/new-bsd New BSD License
  28. * @version $Id: Interface.php 24593 2012-01-05 20:35:02Z matthew $
  29. */
  30. interface Zend_Log_Formatter_Interface
  31. {
  32. /**
  33. * Formats data into a single line to be written by the writer.
  34. *
  35. * @param array $event event data
  36. * @return string formatted line to write to the log
  37. */
  38. public function format($event);
  39. }