application-log-winston-interface
Advanced tools
Comparing version 2.0.5 to 2.0.6
@@ -5,2 +5,9 @@ # Changelog | ||
### [2.0.6](https://github.com/Anadian/application-log-winston-interface/compare/v2.0.5...v2.0.6) (2022-02-20) | ||
### Documentation | ||
* Updated README and deps. ([769b487](https://github.com/Anadian/application-log-winston-interface/commit/769b487d368968d63f9f3ad5bc135bd4059d21b4)) | ||
### [2.0.5](https://github.com/Anadian/application-log-winston-interface/compare/v2.0.4...v2.0.5) (2021-09-25) | ||
@@ -7,0 +14,0 @@ |
{ | ||
"name": "application-log-winston-interface", | ||
"version": "2.0.5", | ||
"version": "2.0.6", | ||
"description": "A wrapper around initialising Winston with Application-Log Standard levels, colours, and specific formats.", | ||
@@ -38,8 +38,8 @@ "main": "source/main.js", | ||
"dependencies": { | ||
"logform": "^2.3.0", | ||
"winston": "^3.3.3" | ||
"logform": "^2.4.0", | ||
"winston": "^3.6.0" | ||
}, | ||
"devDependencies": { | ||
"npm-check-updates": "^11.8.5", | ||
"standard-version": "^9.3.1" | ||
"npm-check-updates": "^12.4.0", | ||
"standard-version": "^9.3.2" | ||
}, | ||
@@ -46,0 +46,0 @@ "engines": { |
@@ -7,3 +7,2 @@ # application-log-winston-interface | ||
[](https://www.npmjs.com/package/application-log-winston-interface) | ||
 | ||
@@ -19,5 +18,18 @@ > A wrapper around initialising Winston with Application-Log Standard levels, colours, and specific formats. | ||
# Background | ||
A simple module that exists primarily as a convenience to initialise [Winston](https://github.com/winstonjs/winston) the way I like. | ||
# Install | ||
```bash | ||
npm install application-log-winston-interface | ||
``` | ||
# Usage | ||
# API | ||
```js | ||
const ApplicationLogWinstonInterface = require('application-log-winston-interface'); | ||
try{ | ||
var Logger = ApplicationLogWinstonInterface.initWinstonLogger( 'base_name.log', './log/directory' ); | ||
} catch(error){ | ||
// | ||
} | ||
``` | ||
# Contributing | ||
@@ -24,0 +36,0 @@ Changes are tracked in [CHANGELOG.md](CHANGELOG.md). |
17359
41
519
Updatedlogform@^2.4.0
Updatedwinston@^3.6.0