IWriter.php 394 B

12345678910111213141516171819202122
  1. <?php
  2. /**
  3. * SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
  4. * SPDX-License-Identifier: AGPL-3.0-or-later
  5. */
  6. namespace OCP\Log;
  7. /**
  8. * Interface IWriter
  9. *
  10. * @since 14.0.0
  11. */
  12. interface IWriter {
  13. /**
  14. * @since 14.0.0
  15. *
  16. * @param string $app
  17. * @param string|array $message
  18. * @param int $level
  19. */
  20. public function write(string $app, $message, int $level);
  21. }