@loopback/docs
Version:
Documentation for LoopBack 4
33 lines (21 loc) • 852 B
Markdown
lang: en
title: 'API docs: http-caching-proxy.httpcachingproxy.logerror'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.http-caching-proxy.httpcachingproxy.logerror.html
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/http-caching-proxy](./http-caching-proxy.md) > [HttpCachingProxy](./http-caching-proxy.httpcachingproxy.md) > [logError](./http-caching-proxy.httpcachingproxy.logerror.md)
## HttpCachingProxy.logError() method
<b>Signature:</b>
```typescript
logError(request: IncomingMessage, error: Error): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| request | <code>IncomingMessage</code> | |
| error | <code>Error</code> | |
<b>Returns:</b>
`void`