PHPePub\Core\Logger::__construct PHP Method

__construct() public method

Class constructor.
public __construct ( string $name = null, boolean $isLogging = false )
$name string
$isLogging boolean
    function __construct($name = null, $isLogging = false)
    {
        if ($name === null) {
            $this->name = "";
        } else {
            $this->name = $name . " : ";
        }
        $this->isLogging = $isLogging;
        $this->start();
    }