---
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) &gt; [@loopback/logging](./logging.md) &gt; [WinstonLoggerProvider](./logging.winstonloggerprovider.md)

## WinstonLoggerProvider class

A provider class that creates WinstonLogger instances

<b>Signature:</b>

```typescript
export declare class WinstonLoggerProvider implements Provider<Logger> 
```
<b>Implements:</b> [Provider](./context.provider.md)<!-- -->&lt;Logger&gt;

## Constructors

|  Constructor | Modifiers | Description |
|  --- | --- | --- |
|  [(constructor)(transports, formats, options)](./logging.winstonloggerprovider._constructor_.md) |  | Constructs a new instance of the <code>WinstonLoggerProvider</code> class |

## Methods

|  Method | Modifiers | Description |
|  --- | --- | --- |
|  [value()](./logging.winstonloggerprovider.value.md) |  |  |


