]> git.mxchange.org Git - friendica.git/commitdiff
Update src/Core/Logger/Type/SyslogLogger.php
authorPhilipp <admin+Github@philipp.info>
Mon, 13 Dec 2021 06:29:21 +0000 (07:29 +0100)
committerGitHub <noreply@github.com>
Mon, 13 Dec 2021 06:29:21 +0000 (07:29 +0100)
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
src/Core/Logger/Type/SyslogLogger.php

index ea960b0be34f80bfc365565aebbada64630822bb..7f16acf423e1cae5d6c6450c8a6504a6b04777a3 100644 (file)
@@ -106,7 +106,7 @@ class SyslogLogger extends AbstractLogger
         * @throws LogLevelException
         * @throws LoggerException
         */
-       public function __construct($channel, Introspection $introspection, string $level = LogLevel::NOTICE, int $logOpts = self::DEFAULT_FLAGS, int $logFacility = self::DEFAULT_FLAGS)
+       public function __construct($channel, Introspection $introspection, string $level = LogLevel::NOTICE, int $logOpts = self::DEFAULT_FLAGS, int $logFacility = self::DEFAULT_FACILITY )
        {
                parent::__construct($channel, $introspection);
                $this->logOpts     = $logOpts;