__construct() __construct(string $logDir) : mixed Constructor Parameters string $logDir Path to a directory with log files of IQRF Gateway Daemon Returns mixed
load() load() : string Loads the latest log of IQRF Gateway Daemon Throws \App\GatewayModule\Exceptions\LogNotFoundException Returns string — IQRF Gateway Daemon's log
getLatestLog() getLatestLog() : string Returns IQRF Gateway Daemon's latest log file path Throws \App\GatewayModule\Exceptions\LogNotFoundException Returns string — IQRF Gateway Daemon's latest log file path
createArchive() createArchive() : string Creates a archive with logs Returns string — Path to archive with logs
download() download() : \Nette\Application\Responses\FileResponse Downloads logs of IQRF Gateway Daemon Throws \Nette\Application\BadRequestException Returns \Nette\Application\Responses\FileResponse — HTTP response with the logs