The controller that exposes the logs
- Source:
Methods
get(request, response)
The function that responds to GET /logs
Parameters:
Name | Type | Description |
---|---|---|
request |
Object | the HTTP request |
response |
Object | the HTTP response |
- Source:
(inner) create(logfile) → {Object}
Creates the logs controller
Parameters:
Name | Type | Description |
---|---|---|
logfile |
string | the path to the logfile |
- Source:
Returns:
- Type
- Object