@userfrosting/ts-log-adapter-gulplog
Version:
An adapter for the ts-log interface that pushes logging to gulplog with optional arguments JSON encoded.
21 lines (12 loc) • 677 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@userfrosting/ts-log-adapter-gulplog](./ts-log-adapter-gulplog.md) > [GulpLogLogger](./ts-log-adapter-gulplog.gulploglogger.md) > [(constructor)](./ts-log-adapter-gulplog.gulploglogger._constructor_.md)
## GulpLogLogger.(constructor)
Constructs a new instance of the `GulpLogLogger` class
<b>Signature:</b>
```typescript
constructor(prefix?: string);
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| prefix | string | Optionally annotate logs with a prefix such as the package name to identify log source. |