Added a lot of constants :-)

This commit is contained in:
Philipp 2023-07-26 23:02:09 +02:00
parent 9ff89a970a
commit acf52a9783
No known key found for this signature in database
GPG key ID: 24A7501396EB5432
16 changed files with 51 additions and 65 deletions

View file

@ -38,6 +38,8 @@ use Psr\Log\LogLevel;
*/
abstract class AbstractLogger implements LoggerInterface
{
const NAME = '';
/**
* The output channel of this logger
* @var string

View file

@ -32,6 +32,8 @@ use Psr\Log\LogLevel;
*/
class StreamLogger extends AbstractLogger
{
const NAME = 'stream';
/**
* The minimum loglevel at which this logger will be triggered
* @var string

View file

@ -32,6 +32,8 @@ use Psr\Log\LogLevel;
*/
class SyslogLogger extends AbstractLogger
{
const NAME = 'syslog';
const IDENT = 'Friendica';
/** @var int The default syslog flags */