@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
92 lines (46 loc) • 1.52 kB
Markdown
---
lang: en
title: 'API docs: logging.winstonloggerprovider'
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.winstonloggerprovider.html
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/logging](./logging.md) > [WinstonLoggerProvider](./logging.winstonloggerprovider.md)
## WinstonLoggerProvider class
A provider class that creates WinstonLogger instances
**Signature:**
```typescript
export declare class WinstonLoggerProvider implements Provider<Logger>
```
**Implements:** [Provider](./context.provider.md)<!-- --><Logger>
## Constructors
<table><thead><tr><th>
Constructor
</th><th>
Modifiers
</th><th>
Description
</th></tr></thead>
<tbody><tr><td markdown="1">
[(constructor)(transports, formats, options)](./logging.winstonloggerprovider._constructor_.md)
</td><td markdown="1">
</td><td markdown="1">
Constructs a new instance of the `WinstonLoggerProvider` class
</td></tr>
</tbody></table>
## Methods
<table><thead><tr><th>
Method
</th><th>
Modifiers
</th><th>
Description
</th></tr></thead>
<tbody><tr><td markdown="1">
[value()](./logging.winstonloggerprovider.value.md)
</td><td markdown="1">
</td><td markdown="1">
</td></tr>
</tbody></table>