Base for a static organization website

CakeLogInterface.php 1.0KB

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. /**
  3. * CakeLogInterface
  4. *
  5. * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
  6. * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
  7. *
  8. * Licensed under The MIT License
  9. * For full copyright and license information, please see the LICENSE.txt
  10. * Redistributions of files must retain the above copyright notice.
  11. *
  12. * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
  13. * @link http://cakephp.org CakePHP(tm) Project
  14. * @package Cake.Log
  15. * @since CakePHP(tm) v 2.0
  16. * @license http://www.opensource.org/licenses/mit-license.php MIT License
  17. */
  18. /**
  19. * CakeLogStreamInterface is the interface that should be implemented
  20. * by all classes that are going to be used as Log streams.
  21. *
  22. * @package Cake.Log
  23. */
  24. interface CakeLogInterface {
  25. /**
  26. * Write method to handle writes being made to the Logger
  27. *
  28. * @param string $type Message type.
  29. * @param string $message Message to write.
  30. * @return void
  31. */
  32. public function write($type, $message);
  33. }