# application-log-winston-interface

> A wrapper around initialising Winston with Application-Log Standard levels, colours, and specific formats.

Latest version **3.1.0** (published 2022-09-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install application-log-winston-interface
pnpm add application-log-winston-interface
yarn add application-log-winston-interface
bun add application-log-winston-interface
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 3.1.0 |
| Published | 2022-09-11 |
| First published | 2019-06-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | >=12 |
| Dependencies | 2 |
| Unpacked size | 160.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Anadian |
| Maintainers | anad |
| Keywords | personal, wrapper, winston, application, log, logging, libre, open, free, mit |

## Links

- npm: https://www.npmjs.com/package/application-log-winston-interface
- Repository: https://github.com/Anadian/application-log-winston-interface
- Homepage: https://github.com/Anadian/application-log-winston-interface#readme
- Issues: https://github.com/Anadian/application-log-winston-interface/issues
- npm.io page: https://npm.io/package/application-log-winston-interface

## Dependencies (2)

- [logform](https://npm.io/package/logform.md) ^2.4.0
- [winston](https://npm.io/package/winston.md) ^3.6.0

## Alternatives

- [async-exit-hook](https://npm.io/package/async-exit-hook.md) — 3.7M weekly downloads
- [evnty](https://npm.io/package/evnty.md) — 7.2K weekly downloads
- [eleventy-plugin-asciidoc](https://npm.io/package/eleventy-plugin-asciidoc.md) — 3.5K weekly downloads
- [@jswork/next-get2get](https://npm.io/package/@jswork/next-get2get.md) — 945 weekly downloads
- [@dashersw/axon](https://npm.io/package/@dashersw/axon.md) — 934 weekly downloads

## Recent versions

- 3.1.0 (latest) — 2022-09-11
- 3.0.1 — 2022-09-11
- 3.0.0 — 2022-08-30
- 2.0.6 — 2022-02-20
- 2.0.5 — 2021-09-25
- 2.0.4 — 2021-06-14
- 2.0.3 — 2021-05-13
- 2.0.2 — 2021-04-25
- 2.0.1 — 2021-04-25
- 1.0.5 — 2019-09-25
- 1.0.4 — 2019-09-25
- 1.0.2 — 2019-06-08
- 1.0.1 — 2019-06-08
- 1.0.0 — 2019-06-05

## README

# application-log-winston-interface
[![standard-readme compliant](https://img.shields.io/badge/readme%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme)
[![Semantic Versioning 2.0.0](https://img.shields.io/badge/semver-2.0.0-brightgreen?style=flat-square)](https://semver.org/spec/v2.0.0.html)
[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg?style=flat-square)](https://conventionalcommits.org)
[![License](https://img.shields.io/github/license/Anadian/application-log-winston-interface)](https://github.com/Anadian/application-log-winston-interface/blob/main/LICENSE)
[![npm](https://img.shields.io/npm/v/application-log-winston-interface)](https://www.npmjs.com/package/application-log-winston-interface)
[![ci](https://github.com/Anadian/application-log-winston-interface/actions/workflows/ci.yml/badge.svg)](https://github.com/Anadian/application-log-winston-interface/actions/workflows/ci.yml)
[![Coverage Status](https://coveralls.io/repos/github/Anadian/application-log-winston-interface/badge.svg?branch=main)](https://coveralls.io/github/Anadian/application-log-winston-interface?branch=main)

> A wrapper around initialising Winston with Application-Log Standard levels, colours, and specific formats.
# Table of Contents
- [Background](#Background)
- [Install](#Install)
- [Usage](#Usage)
- [API](#API)
- [Contributing](#Contributing)
- [License](#License)
# Background
A simple module that exists primarily as a convenience to initialise [Winston](https://github.com/winstonjs/winston) the way I like.
# Install
Using [pnpm](https://pnpm.io/cli/add):
```bash
pnpm add --save application-log-winston-interface
```
It can, of course, also be installed by [NPM](https://docs.npmjs.com/cli/v8/commands/npm-install) or [Yarn](https://yarnpkg.com/getting-started/usage) using the normal methods.
# Usage
# API
```js
import * as ApplicationLogWinstonInterface from 'application-log-winston-interface';

try{
	var Logger = ApplicationLogWinstonInterface.initWinstonLogger( 'base_name.log', './log/directory' );
} catch(error){
	//
}
```
# Contributing
Changes are tracked in [CHANGELOG.md](CHANGELOG.md).
# License
MIT ©2021 Anadian

SEE LICENSE IN [LICENSE](LICENSE)

[![Creative Commons License](https://i.creativecommons.org/l/by-sa/4.0/88x31.png)](http://creativecommons.org/licenses/by-sa/4.0/)This project's documentation is licensed under a [Creative Commons Attribution-ShareAlike 4.0 International License](http://creativecommons.org/licenses/by-sa/4.0/).

---
_Source: https://npm.io/package/application-log-winston-interface · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
