0
0
mirror of https://github.com/nextcloud/server.git synced 2024-11-14 04:16:59 +00:00
nextcloud_server/lib/public/ILogger.php
Ferdinand Thiessen 5cce140701
chore: Remove deprecated ILogger logging functions
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-19 00:37:06 +02:00

41 lines
829 B
PHP

<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
* SPDX-License-Identifier: AGPL-3.0-only
*/
namespace OCP;
/**
* Nextcloud logging levels.
* For historical reasons the logging levels are provided as interface constants.
*
* @since 7.0.0
* @since 20.0.0 deprecated logging methods in favor of \Psr\Log\LoggerInterface
* @since 31.0.0 removed deprecated logging methods - the interface is kept for Nextcloud log levels
*/
interface ILogger {
/**
* @since 14.0.0
*/
public const DEBUG = 0;
/**
* @since 14.0.0
*/
public const INFO = 1;
/**
* @since 14.0.0
*/
public const WARN = 2;
/**
* @since 14.0.0
*/
public const ERROR = 3;
/**
* @since 14.0.0
*/
public const FATAL = 4;
}