@loopback/docs
Version:
Documentation for LoopBack 4
23 lines (15 loc) • 529 B
Markdown
lang: en
title: 'API docs: rest.logerror'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.rest.logerror.html
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/rest](./rest.md) > [LogError](./rest.logerror.md)
## LogError type
Log information about a failed request.
<b>Signature:</b>
```typescript
export declare type LogError = (err: Error, statusCode: number, request: Request) => void;
```