sfLoggerInterface.class.php 763 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. /*
  3. * This file is part of the symfony package.
  4. * (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com>
  5. *
  6. * For the full copyright and license information, please view the LICENSE
  7. * file that was distributed with this source code.
  8. */
  9. /**
  10. * sfLoggerInterface is the interface all symfony loggers must implement.
  11. *
  12. * @package symfony
  13. * @subpackage log
  14. * @author Fabien Potencier <fabien.potencier@symfony-project.com>
  15. * @version SVN: $Id: sfLoggerInterface.class.php 9081 2008-05-20 00:47:12Z Carl.Vondrick $
  16. */
  17. interface sfLoggerInterface
  18. {
  19. /**
  20. * Logs a message.
  21. *
  22. * @param string $message Message
  23. * @param string $priority Message priority
  24. */
  25. public function log($message, $priority = null);
  26. }