UNPKG

@loopback/docs

Version:

Documentation files rendered at [https://loopback.io](https://loopback.io)

75 lines (38 loc) 1.2 kB
--- lang: en title: 'API docs: http-caching-proxy.httpcachingproxy.logerror' keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI sidebar: lb4_sidebar editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/http-caching-proxy 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) &gt; [@loopback/http-caching-proxy](./http-caching-proxy.md) &gt; [HttpCachingProxy](./http-caching-proxy.httpcachingproxy.md) &gt; [logError](./http-caching-proxy.httpcachingproxy.logerror.md) ## HttpCachingProxy.logError() method **Signature:** ```typescript logError(request: IncomingMessage, error: Error): void; ``` ## Parameters <table><thead><tr><th> Parameter </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td markdown="1"> request </td><td markdown="1"> IncomingMessage </td><td markdown="1"> </td></tr> <tr><td markdown="1"> error </td><td markdown="1"> Error </td><td markdown="1"> </td></tr> </tbody></table> **Returns:** void