mirror of
https://github.com/friendica/friendica
synced 2025-04-30 01:44:24 +02:00
Added a lot of constants :-)
This commit is contained in:
parent
9ff89a970a
commit
acf52a9783
16 changed files with 51 additions and 65 deletions
|
@ -38,6 +38,8 @@ use Psr\Log\LogLevel;
|
|||
*/
|
||||
abstract class AbstractLogger implements LoggerInterface
|
||||
{
|
||||
const NAME = '';
|
||||
|
||||
/**
|
||||
* The output channel of this logger
|
||||
* @var string
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -32,6 +32,8 @@ use Psr\Log\LogLevel;
|
|||
*/
|
||||
class SyslogLogger extends AbstractLogger
|
||||
{
|
||||
const NAME = 'syslog';
|
||||
|
||||
const IDENT = 'Friendica';
|
||||
|
||||
/** @var int The default syslog flags */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue