Skip to content

debugLogPath variable should be from config #13

@edvinasnet

Description

@edvinasnet

Hi all,

In AbstractTransport.php constructor:

    public function __construct()
    {
        $ds = DIRECTORY_SEPARATOR;
        $this->debugLogPath = realpath(dirname(__FILE__) . "$ds..$ds..") . $ds . 'debug/log.log';
        $this->errorGovernor = new ErrorGovernor();
        // add empty implementation to avoid method calls on non-object
        $this->setMessageBuilder(new NullBuilder());
    }

This debugLogPath is hardcoded with constant value in vendor folder. Maybe its good idea to have configurable variable?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions