diff options
Diffstat (limited to 'lib/public/Log/IWriter.php')
-rw-r--r-- | lib/public/Log/IWriter.php | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/lib/public/Log/IWriter.php b/lib/public/Log/IWriter.php new file mode 100644 index 00000000000..2fcbc094881 --- /dev/null +++ b/lib/public/Log/IWriter.php @@ -0,0 +1,23 @@ +<?php + +/** + * SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later + */ +namespace OCP\Log; + +/** + * Interface IWriter + * + * @since 14.0.0 + */ +interface IWriter { + /** + * @since 14.0.0 + * + * @param string $app + * @param string|array $message + * @param int $level + */ + public function write(string $app, $message, int $level); +} |