TestAppLog.php 937 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. /**
  3. * Test Suite Test App Logging stream class.
  4. *
  5. * CakePHP(tm) : Rapid Development Framework (https://cakephp.org)
  6. * Copyright (c) Cake Software Foundation, Inc. (https://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. (https://cakefoundation.org)
  13. * @link https://cakephp.org CakePHP(tm) Project
  14. * @since 1.3.0
  15. * @license https://opensource.org/licenses/mit-license.php MIT License
  16. */
  17. namespace TestApp\Log\Engine;
  18. use Cake\Log\Engine\BaseLog;
  19. /**
  20. * Test Suite Test App Logging stream class.
  21. */
  22. class TestAppLog extends BaseLog
  23. {
  24. public $passedScope = null;
  25. public function log($level, $message, array $context = [])
  26. {
  27. $this->passedScope = $context;
  28. }
  29. }