diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2018-04-25 13:26:03 +0300 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-04-26 13:10:52 +0300 |
commit | 69592408c4ef2b891c2d73f704611d2eabe5813a (patch) | |
tree | 6e818dc25a643e167925353ee1a2fa58a3c95700 /lib/public/Log | |
parent | cfc3ab0119d23a4c8ccccefb13d2271b0c0675ae (diff) |
move IFileBased to public namespace, logreader needs it
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'lib/public/Log')
-rw-r--r-- | lib/public/Log/IFileBased.php | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/lib/public/Log/IFileBased.php b/lib/public/Log/IFileBased.php new file mode 100644 index 00000000000..e4befbfd632 --- /dev/null +++ b/lib/public/Log/IFileBased.php @@ -0,0 +1,30 @@ +<?php +/** + * @copyright Copyright (c) 2018 Arthur Schiwon <blizzz@arthur-schiwon.de> + * + * @author Arthur Schiwon <blizzz@arthur-schiwon.de> + * + * @license GNU AGPL version 3 or any later version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * + */ + +namespace OCP\Log; + +interface IFileBased { + public function getLogFilePath(); + + public function getEntries($limit=50, $offset=0); +} |