@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
171 lines (82 loc) • 2.37 kB
Markdown
---
lang: en
title: 'API docs: logging'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/extensions/logging
permalink: /doc/en/lb4/apidocs.logging.html
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/logging](./logging.md)
## logging package
[@loopback/logging](https://github.com/loopbackio/loopback-next/tree/master/extensions/logging)
## Classes
<table><thead><tr><th>
Class
</th><th>
Description
</th></tr></thead>
<tbody><tr><td markdown="1">
[LoggingComponent](./logging.loggingcomponent.md)
</td><td markdown="1">
A component providing logging facilities
</td></tr>
<tr><td markdown="1">
[WinstonLoggerProvider](./logging.winstonloggerprovider.md)
</td><td markdown="1">
A provider class that creates WinstonLogger instances
</td></tr>
</tbody></table>
## Functions
<table><thead><tr><th>
Function
</th><th>
Description
</th></tr></thead>
<tbody><tr><td markdown="1">
[logInvocation()](./logging.loginvocation.md)
</td><td markdown="1">
`@logInvocation` decorator for method invocations.
</td></tr>
</tbody></table>
## Namespaces
<table><thead><tr><th>
Namespace
</th><th>
Description
</th></tr></thead>
<tbody><tr><td markdown="1">
[LoggingBindings](./logging.loggingbindings.md)
</td><td markdown="1">
Binding keys used by this component.
</td></tr>
</tbody></table>
## Variables
<table><thead><tr><th>
Variable
</th><th>
Description
</th></tr></thead>
<tbody><tr><td markdown="1">
[WINSTON\_FORMAT](./logging.winston_format.md)
</td><td markdown="1">
An extension point for winston formats
</td></tr>
<tr><td markdown="1">
[WINSTON\_TRANSPORT](./logging.winston_transport.md)
</td><td markdown="1">
An extension point for winston transports
</td></tr>
</tbody></table>
## Type Aliases
<table><thead><tr><th>
Type Alias
</th><th>
Description
</th></tr></thead>
<tbody><tr><td markdown="1">
[LoggingComponentConfig](./logging.loggingcomponentconfig.md)
</td><td markdown="1">
Configuration for LoggingComponent
</td></tr>
</tbody></table>