@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
119 lines (57 loc) • 1.76 kB
Markdown
---
lang: en
title: 'API docs: logging.loggingcomponent'
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.loggingcomponent.html
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/logging](./logging.md) > [LoggingComponent](./logging.loggingcomponent.md)
## LoggingComponent class
A component providing logging facilities
**Signature:**
```typescript
export declare class LoggingComponent implements Component
```
**Implements:** [Component](./core.component.md)
## Constructors
<table><thead><tr><th>
Constructor
</th><th>
Modifiers
</th><th>
Description
</th></tr></thead>
<tbody><tr><td markdown="1">
[(constructor)(loggingConfig)](./logging.loggingcomponent._constructor_.md)
</td><td markdown="1">
</td><td markdown="1">
Constructs a new instance of the `LoggingComponent` class
</td></tr>
</tbody></table>
## Properties
<table><thead><tr><th>
Property
</th><th>
Modifiers
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td markdown="1">
[bindings](./logging.loggingcomponent.bindings.md)
</td><td markdown="1">
</td><td markdown="1">
[Binding](./context.binding.md)<!-- --><unknown>\[\]
</td><td markdown="1">
</td></tr>
<tr><td markdown="1">
[providers](./logging.loggingcomponent.providers.md)
</td><td markdown="1">
</td><td markdown="1">
[ProviderMap](./core.providermap.md)
</td><td markdown="1">
</td></tr>
</tbody></table>