Skip to content
Snippets Groups Projects
Commit 81e155c5 authored by Sigmund, Dominik's avatar Sigmund, Dominik
Browse files

finalize

parent c17014f9
Branches
Tags
1 merge request!1Update index.test.js, examples/all-options.js, examples/log-to-file.js,...
......@@ -3,4 +3,3 @@ samples/file.log
coverage/
stryker.log
*.DS_Store
ho-copy
.gitlab-ci.yml
\ No newline at end of file
# log
[![pipeline status](https://it-devops-01.br-edv.brnet.int/general/log/badges/master/pipeline.svg)](https://it-devops-01.br-edv.brnet.int/general/log/commits/master)
[![coverage report](https://it-devops-01.br-edv.brnet.int/general/log/badges/master/coverage.svg)](https://it-devops-01.br-edv.brnet.int/general/log/commits/master)
[![Quality Gate Status](https://it-devops-01.br-edv.brnet.int:8999/api/project_badges/measure?project=argos-log&metric=alert_status)](https://it-devops-01.br-edv.brnet.int:8999/dashboard?id=argos-log)
A real simple logger application.
May Optional Log to A File and a graylog-server.
## Installation
- `npm config set @br:registry https://it-devops-01:4873`
- `npm install --save @br/config`
- `npm install --save @plastdev/config`
## Usage
`const Log = require('@br/log')`
`const Log = require('@plastdev/log')`
`let log = new Log(options)`
Note: The options Part may be omitted, as all parts are optional, but using the name is recommended, as without it, the package-name will be used
......
{
"name": "@br/log",
"name": "@plastdev/log",
"version": "2.0.2",
"description": "A simple Logger with Options!",
"main": "index.js",
"scripts": {
"test": "jest",
"sonarqube": "sonar-scanner -Dsonar.projectKey=argos-log -Dsonar.sources=. -Dsonar.host.url=https://it-devops-01.br-edv.brnet.int:8999 -Dsonar.login=gitlab"
"test": "jest"
},
"author": "Dominik Sigmund <dominik.sigmund@br.de> (https://br.de)",
"license": "ISC",
"repository": {
"type": "git",
"url": "https://it-devops-01.br-edv.brnet.int/general/log"
"url": "https://gitlab.br.de/general/log"
},
"dependencies": {
"graylog2": "^0.2.1"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment