Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error logging to syslog #33

Closed
marco-moraschinelli opened this issue Feb 20, 2024 · 3 comments
Closed

Error logging to syslog #33

marco-moraschinelli opened this issue Feb 20, 2024 · 3 comments

Comments

@marco-moraschinelli
Copy link

Trying to write a log to syslog is generated this error:

Typed property Log_syslog::$name must be int, string used

In syslog.php there is a different type of variable $name in class declaration:

class Log_syslog extends Log
{
    /**
     * Integer holding the log facility to use.
     */
    private int $name;

and costructor:


    public function __construct(
        string $name,
@jparise
Copy link
Member

jparise commented Feb 20, 2024

@sveneld, could you take a look at this?

@sveneld
Copy link
Contributor

sveneld commented Feb 20, 2024

#34

@jparise
Copy link
Member

jparise commented Feb 20, 2024

Thanks for the bug report!

This is now fixed in version 1.14.4.

@jparise jparise closed this as completed Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants