protected function configLog(ConfigXML $config)
    {
        $configPath = dirname($this->config(static::TOOL_CONFIG_FILE));
        $log = "$configPath/" . $config->toString('/config/tool/log');
        shell_exec("touch \"$log\"");
        $this->config(static::TOOL_LOG, realpath($log));
        $this->flushLogQueue();
    }
protected function configLog(ConfigXML $config)
    {
        $configPath = dirname($this->config(static::TOOL_CONFIG_FILE));
        $log = "$configPath/" . $config->toString('/config/tool/log');
        shell_exec("touch \"$log\"");
        $this->config(static::TOOL_LOG, realpath($log));
        $this->flushLogQueue();
    }
protected function configLog ( ConfigXML $ config ) { $ configPath = dirname ( $ this -> config ( static :: TOOL_CONFIG_FILE ) ) ; $ log = "$configPath/" . $ config -> toString ( '/config/tool/log' ) ; shell_exec ( "touch \"$log\"" ) ; $ this -> config ( static :: TOOL_LOG , realpath ( $ log ) ) ; $ this -> flushLogQueue ( ) ; }
Configure the logger object from a configuration file

This will also flush any backlog of queued messages that have been
waiting for a logger object to be ready.

@param ConfigXML $config Configuration file object
@return void
Configure the logger object from a configuration file