]> git.mxchange.org Git - friendica.git/blob - src/Core/Logger/Capability/LogChannel.php
Use the owner, not the author
[friendica.git] / src / Core / Logger / Capability / LogChannel.php
1 <?php
2 /**
3  * @copyright Copyright (C) 2010-2023, the Friendica project
4  *
5  * @license GNU AGPL version 3 or any later version
6  *
7  * This program is free software: you can redistribute it and/or modify
8  * it under the terms of the GNU Affero General Public License as
9  * published by the Free Software Foundation, either version 3 of the
10  * License, or (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  * GNU Affero General Public License for more details.
16  *
17  * You should have received a copy of the GNU Affero General Public License
18  * along with this program.  If not, see <https://www.gnu.org/licenses/>.
19  *
20  */
21
22 namespace Friendica\Core\Logger\Capability;
23
24 /**
25  * An enum class for the Log channels
26  */
27 interface LogChannel
28 {
29         /** @var string channel for the auth_ejabbered script */
30         public const AUTH_JABBERED = 'auth_ejabberd';
31         /** @var string Default channel in case it isn't set explicit */
32         public const DEFAULT = self::APP;
33         /** @var string channel for console execution */
34         public const CONSOLE = 'console';
35         /** @var string channel for developer focused logging */
36         public const DEV = 'dev';
37         /** @var string channel for daemon executions */
38         public const DAEMON = 'daemon';
39         /** @var string channel for worker execution */
40         public const WORKER = 'worker';
41         /** @var string channel for frontend app executions */
42         public const APP = 'app';
43 }