\App\GatewayModule\ModelsLogManager

Tool for downloading and reading IQRF Daemon's log files

Summary

Methods
Properties
Constants
__construct()
load()
getLogFiles()
download()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct(  logDir) : 

Constructor

Parameters

logDir

Path to a directory with log files of IQRF Gateway Daemon

Returns

load()

load() : 

Load the latest log of IQRF Gateway Daemon

Returns

IQRF Gateway Daemon's log

getLogFiles()

getLogFiles() : mixed||string|int

Get IQRF Gateway Daemon's log files

Returns

mixed||string|int —

IQRF Gateway Daemon's log files

download()

download() : \App\GatewayModule\Models\FileResponse

Download logs of IQRF Gateway Daemon

Throws

\App\GatewayModule\Models\BadRequestException

Returns

\App\GatewayModule\Models\FileResponse —

HTTP response with the logs